|
@@ -20,14 +20,6 @@
|
|
|
|
|
|
extern LA MAIN;
|
|
|
|
|
|
-void la_DetachedScenePanel(laPanel* p){
|
|
|
- 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_object",-1,DetachedProps);
|
|
|
-}
|
|
|
void DataPanel(laUiList *uil, laPropPack *This, laPropPack *DetachedProps, laColumn *UNUSED, int context){
|
|
|
laColumn* c=laFirstColumn(uil);
|
|
|
|
|
@@ -37,7 +29,6 @@ void DataPanel(laUiList *uil, laPropPack *This, laPropPack *DetachedProps, laCol
|
|
|
}
|
|
|
|
|
|
int RegisterEverything(){
|
|
|
- laRegisterUiTemplate("panel_scene", "Scene", ScenePanel, la_DetachedScenePanel, 0,0, 0,25,25);
|
|
|
laRegisterUiTemplate("panel_data", "Data", DataPanel, 0, 0,0, 0,0,20);
|
|
|
|
|
|
tnsObject* s=tnsCreateRootObject("My Root");
|
|
@@ -79,7 +70,7 @@ int main(int argc, char *argv[]){
|
|
|
laCreatePanel(b->B2, "LAUI_animation_actions");
|
|
|
|
|
|
laSplitBlockVertical(b->B1,0.6);
|
|
|
- laCreatePanel(b->B1->B1, "panel_scene");
|
|
|
+ laCreatePanel(b->B1->B1, "LAUI_scene");
|
|
|
laCreatePanel(b->B1->B2, "LAUI_animation_action_channels");
|
|
|
|
|
|
laStartWindow(w);
|