fredsa / playn

Cross platform game library for N≥4 platforms
0 stars 1 forks source link

GroupLayer.setvisible() is not refreshing the view #105

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a GroupLayer, and ImageLayer. Add ImageLayer to GroupLayer.
2. When the layers are drawn on the window, call the 
GroupLayer.setVisible(false) function. 
3.

What is the expected output? What do you see instead?

GrupLayer should be unvisible on the window but it doesn't. I think, the 
problem is the window is not refreshing. Because when i move the window on 
screen, the layers gets unvisible. 

What version of the product are you using? On what operating system?
Windows XP
Eclipse Indıgo

Please provide any additional information below.
Actually, if you call GroupLayer.setVisible(false) before the layers are drawn 
on the window, the function works fine. But if you call setVisible() function 
after the layers are drawn on the window it doesn't work.  

I attached sample video to demonstrate the problem.

Original issue reported on code.google.com by serhatay...@gmail.com on 16 Dec 2011 at 12:31

Attachments:

GoogleCodeExporter commented 9 years ago
This is issue 115 and is now fixed.

Original comment by mmast...@gmail.com on 9 Jan 2012 at 9:44