*/}}
Bladeren bron

Canvas crash fix

ChengduLittleA 1 jaar geleden
bovenliggende
commit
3daf170df9
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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);
 
     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);
     laCanvasExtra*ce=laShowCanvas(uil,cr,0,"tns.texture_list",0,6)->Extra; ce->ZoomX=10; ce->ZoomY=10;
 }