trethaller 6 năm trước cách đây
mục cha
commit
1b6e17eb37
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      hide/comp/SceneEditor.hx

+ 1 - 0
hide/comp/SceneEditor.hx

@@ -759,6 +759,7 @@ class SceneEditor {
 
 	public function getContext(elt : PrefabElement) {
 		if(elt == null) return null;
+		if(elt == sceneData) return context;
 		return context.shared.contexts.get(elt);
 	}