Jump to content

[SOLVED] mesh refresh


photo

Recommended Posts

Posted

How to refresh mesh imported into Unigine without Unigine restart? Sometimes helps to check and uncheck mesh compaction, but it is risky, because it crashes Unigine quite often. Is there any other way?

Posted

Save scene, then console command "world_reload"

But it would be cool if the mesh is automatically updated when it changed

Posted

Great thanks! Btw, it is possible to somehow turn off that expanding of material tree after adding new material? We have so far only few hundred materials (we will have few thousands) and it is already very anoying.

Posted

Don't think there is some default switch for this, but it should be possible by modifying editor scripts in <sdk_root>/data/core/editor_ material*.h files. So just search for the initial add handler and trace code until you find tree expand operation and modify it accordingly.

Posted
Don't think there is some default switch for this, but it should be possible by modifying editor scripts in <sdk_root>/data/core/editor_ material*.h files. So just search for the initial add handler and trace code until you find tree expand operation and modify it accordingly.

 

Thanks.

Posted

We'll fix expansion of all nested lists under the material you inherit from. (Still, when you inherit from mesh_base, for example, it it will expand to show its direct children.)

×
×
  • Create New...