trethaller 6 лет назад
Родитель
Сommit
1b6e17eb37
1 измененных файлов с 1 добавлено и 0 удалено
  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);
 	}