瀏覽代碼

SceneEditor: fix error after delete

trethaller 6 年之前
父節點
當前提交
85f73dadd9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hide/comp/SceneEditor.hx

+ 1 - 1
hide/comp/SceneEditor.hx

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