Jump to content

setEnabled on mesh enable all surfaces


photo

Recommended Posts

Posted

Hi,

i create mesh in another thread, call setEnabled(false) to hide it, then i disable some surfaces that exist on it.

After finish all work in thread, i call in main thread updateEnabled() and setEnabled(true), the mesh is showed, but have enabled all surfaces.

 

If i don't call setEnabled(false) in the thread, the surfaces are correctly disabled, but the mesh is showed before i want it show.

 

Unigine 2.11.0.2 and 2.12-alfa.

Thanks

Honya

Posted

It's not a bug.

 

I found check getEnabled() on weird place in my code, so i go to remember, why is in that place.

 

Honya 

×
×
  • Create New...