Explorar el Código

Fix crash when opening fx viewer

Clément Espeute hace 11 meses
padre
commit
238ba39b83
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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(obj.getChildAt(idx));
 			}
 			}
 			checkUV(s3d);
 			checkUV(s3d);
-			
+
 
 
 			var isDisplacementDisplay = v.name == "Displacement" && input.is(":checked");
 			var isDisplacementDisplay = v.name == "Displacement" && input.is(":checked");
 			for ( m in s3d.getMeshes() ) {
 			for ( m in s3d.getMeshes() ) {
@@ -1890,7 +1890,7 @@ class SceneEditor {
 		tree.applyStyle = function(p, el) applyTreeStyle(p, el);
 		tree.applyStyle = function(p, el) applyTreeStyle(p, el);
 		renderPropsTree.applyStyle = function(p, el) applyTreeStyle(p, el, renderPropsTree);
 		renderPropsTree.applyStyle = function(p, el) applyTreeStyle(p, el, renderPropsTree);
 
 
-		//selectElements([]);
+		selectElements([]);
 		refreshScene();
 		refreshScene();
 		this.camera2D = camera2D;
 		this.camera2D = camera2D;