MSCDavide / andengine

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

SpriteGroup drawing bug #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create SpriteGroup
2. Try to attach/detach children to it dynamically
3. Dynamically detach all of attached children one by one.

More detailed here: 
http://www.andengine.org/forums/bugs/sprite-group-sprite-setvisible-has-no-effec
t-t3751.html?hilit=SpriteGroup#p19176

What is the expected output? What do you see instead?
Last detached sprite is not erased until another sprite is attached to this 
SpriteGroup.

What version of the product are you using? On what operating system?
Latest andengine.jar (last commit is be48c1bde557), android 2.2

Please provide any additional information below.
I found the cause, it is also described here:
http://www.andengine.org/forums/bugs/sprite-group-sprite-setvisible-has-no-effec
t-t3751.html?hilit=SpriteGroup#p19176

Original issue reported on code.google.com by gliv...@gmail.com on 21 Jul 2011 at 12:29