浏览代码

Cleanups.

Mark Sibly 7 年之前
父节点
当前提交
dc6822ea3d
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      modules/mojo3d/tests/room.monkey2

+ 1 - 2
modules/mojo3d/tests/room.monkey2

@@ -60,9 +60,8 @@ Class MyWindow Extends Window
 		Local model:=Model.Load( "asset::fish.glb" )
 		model.Mesh.FitVertices( New Boxf( -1,1 ) )
 		
-		Local root:=New Entity
+		Local root:=New Pivot
 		root.AddComponent<RotateBehaviour>().Speed=New Vec3f( 0,.1,0 )
-		root.Visible=True
 		
 		For Local an:=0 Until 360 Step 9