Browse Source

SceneEditor: fix error after delete

trethaller 6 years ago
parent
commit
85f73dadd9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hide/comp/SceneEditor.hx

+ 1 - 1
hide/comp/SceneEditor.hx

@@ -1283,7 +1283,7 @@ class SceneEditor {
 			refresh(fullRefresh ? Full : Partial, then);
 			refresh(fullRefresh ? Full : Partial, then);
 		}
 		}
 
 
-		refreshFunc(selectObjects.bind(elts));
+		refreshFunc(deselect);
 
 
 		undo.change(Custom(function(undo) {
 		undo.change(Custom(function(undo) {
 			if(!undo && !fullRefresh)
 			if(!undo && !fullRefresh)