*/}}
Browse Source

Canvas crash fix

ChengduLittleA 1 year ago
parent
commit
3daf170df9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      widgets.c

+ 1 - 1
widgets.c

@@ -54,7 +54,7 @@ void Widgets(laUiList *uil, laPropPack *This, laPropPack *DetachedProps, laColum
     laShowSeparator(uil,c);
     laShowSeparator(uil,c);
 
 
     laShowLabel(uil,cl,"This is a 3D viewer",0,0);
     laShowLabel(uil,cl,"This is a 3D viewer",0,0);
-    laShowCanvas(uil,cl,0,"tns","la_3DView",6);
+    laShowCanvas(uil,cl,0,"tns.world.active_root","la_3DView",6);
     laShowLabel(uil,cr,"And this is 2D",0,0);
     laShowLabel(uil,cr,"And this is 2D",0,0);
     laCanvasExtra*ce=laShowCanvas(uil,cr,0,"tns.texture_list",0,6)->Extra; ce->ZoomX=10; ce->ZoomY=10;
     laCanvasExtra*ce=laShowCanvas(uil,cr,0,"tns.texture_list",0,6)->Extra; ce->ZoomX=10; ce->ZoomY=10;
 }
 }