*/}}
Pārlūkot izejas kodu

Detached 3d view ui changes

YimingWu 1 gadu atpakaļ
vecāks
revīzija
a1d25bdf8c
1 mainītis faili ar 4 papildinājumiem un 3 dzēšanām
  1. 4 3
      modelling_main.c

+ 4 - 3
modelling_main.c

@@ -21,11 +21,12 @@
 extern LA MAIN;
 
 void la_DetachedScenePanel(laPanel* p){
-    la_MakeDetachedProp(p, "tns.world.root_objects", "root");
+    la_MakeDetachedProp(p, "la.detached_view_switch", "detached");
+    la_MakeDetachedProp(p, "tns.world.root_objects", "root_object");
 }
 void ScenePanel(laUiList *uil, laPropPack *This, laPropPack *DetachedProps, laColumn *UNUSED, int context){
-    laColumn* c=laFirstColumn(uil);
-    laShow3DCanvasCombo(uil,c,DetachedProps,"root",-1);
+    laColumn* c=laFirstColumn(uil); 
+    laShow3DCanvasCombo(uil,c,DetachedProps,"root_object",-1,DetachedProps);
 }
 void DataPanel(laUiList *uil, laPropPack *This, laPropPack *DetachedProps, laColumn *UNUSED, int context){
     laColumn* c=laFirstColumn(uil);