demostenes Posted November 29, 2012 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?
anton.stetz Posted November 29, 2012 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
ulf.schroeter Posted November 29, 2012 Posted November 29, 2012 https://developer.unigine.com/forum/topic/682-replacing-mesh-without-restarting-world/page__p__3323__hl__reload#entry3323
demostenes Posted November 29, 2012 Author 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.
ulf.schroeter Posted November 29, 2012 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.
demostenes Posted November 29, 2012 Author 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.
manguste Posted November 30, 2012 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.)
Recommended Posts