ソースを参照

Fix crash when opening fx viewer

Clément Espeute 11 ヶ月 前
コミット
238ba39b83
1 ファイル変更2 行追加2 行削除
  1. 2 2
      hide/comp/SceneEditor.hx

+ 2 - 2
hide/comp/SceneEditor.hx

@@ -559,7 +559,7 @@ class ViewModePopup extends hide.comp.Popup {
 					checkUV(obj.getChildAt(idx));
 			}
 			checkUV(s3d);
-			
+
 
 			var isDisplacementDisplay = v.name == "Displacement" && input.is(":checked");
 			for ( m in s3d.getMeshes() ) {
@@ -1890,7 +1890,7 @@ class SceneEditor {
 		tree.applyStyle = function(p, el) applyTreeStyle(p, el);
 		renderPropsTree.applyStyle = function(p, el) applyTreeStyle(p, el, renderPropsTree);
 
-		//selectElements([]);
+		selectElements([]);
 		refreshScene();
 		this.camera2D = camera2D;