demostenes Posted November 29, 2012 Share Posted November 29, 2012 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? Link to comment
anton.stetz Posted November 29, 2012 Share Posted November 29, 2012 Save scene, then console command "world_reload" But it would be cool if the mesh is automatically updated when it changed Link to comment
ulf.schroeter Posted November 29, 2012 Share Posted November 29, 2012 https://developer.unigine.com/forum/topic/682-replacing-mesh-without-restarting-world/page__p__3323__hl__reload#entry3323 Link to comment
demostenes Posted November 29, 2012 Author Share Posted November 29, 2012 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. Link to comment
ulf.schroeter Posted November 29, 2012 Share Posted November 29, 2012 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. Link to comment
demostenes Posted November 29, 2012 Author Share Posted November 29, 2012 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. Link to comment
manguste Posted November 30, 2012 Share Posted November 30, 2012 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.) Link to comment
Recommended Posts