Browse Source

Re-enable transform edition on terrain

trethaller 6 năm trước cách đây
mục cha
commit
b7f2b0ce0b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      hide/prefab/terrain/Terrain.hx

+ 1 - 1
hide/prefab/terrain/Terrain.hx

@@ -266,7 +266,7 @@ class Terrain extends Object3D {
 	}
 
 	override function edit( ctx : EditContext ) {
-		//super.edit(ctx); // Only need Pos-Z and Rot-Z
+		super.edit(ctx);
 		var props = new hide.Element('<div></div>');
 		if( editor == null )editor = new TerrainEditor(this, ctx.properties.undo);
 		editor.setupUI(props, ctx);