*/}}
Bläddra i källkod

Use combo 3d view.

YimingWu 1 år sedan
förälder
incheckning
55eeab4729
1 ändrade filer med 2 tillägg och 8 borttagningar
  1. 2 8
      modelling_main.c

+ 2 - 8
modelling_main.c

@@ -25,14 +25,7 @@ void la_DetachedScenePanel(laPanel* p){
 }
 void ScenePanel(laUiList *uil, laPropPack *This, laPropPack *DetachedProps, laColumn *UNUSED, int context){
     laColumn* c=laFirstColumn(uil);
-    
-    laUiItem* ui=laShowCanvas(uil,c,DetachedProps,"root",0,-2);
-    laDefault3DViewOverlay(ui);
-
-    laUiItem* b=laBeginRow(uil,c,0,0);
-    laShowItem(uil,c,&ui->ExtraPP,"select_mode")->Flags|=LA_UI_FLAGS_EXPAND;
-    laShowItem(uil,c,&ui->ExtraPP,"select_through");
-    laEndRow(uil,b);
+    laShow3DCanvasCombo(uil,c,DetachedProps,"root",-1);
 }
 void DataPanel(laUiList *uil, laPropPack *This, laPropPack *DetachedProps, laColumn *UNUSED, int context){
     laColumn* c=laFirstColumn(uil);
@@ -77,6 +70,7 @@ int main(int argc, char *argv[]){
     laSplitBlockHorizon(b,0.7);
     laCreatePanel(b->B1, "panel_scene");
     laCreatePanel(b->B2, "panel_data");
+    laCreatePanel(b->B2, "LAUI_animation_actions");
 
     laStartWindow(w);
     laMainLoop();