lichtungsgnarr / controlp5

Automatically exported from code.google.com/p/controlp5
0 stars 0 forks source link

Small error in ControlP5 Group example #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open the ControlP5 Group example.
2. Press space twice.

What is the expected output? What do you see instead?
The first press removes the group, the second results in a 
NullPointerException. Could be fixed by checking for null first...

if (cp5.group("g1") != null) {
  cp5.group("g1").remove();
}

What version of the product are you using? On what operating system?
ControlP5 0.7.3

Please provide any additional information below.
As reported by someone on the Processing forum here:
https://forum.processing.org/topic/controlp5-and-group

Original issue reported on code.google.com by amnonp5@gmail.com on 26 May 2012 at 1:13

GoogleCodeExporter commented 9 years ago
fixed with 0.7.4, thanks.

Original comment by soj...@gmail.com on 28 May 2012 at 8:56