trethaller %!s(int64=6) %!d(string=hai) anos
pai
achega
1b6e17eb37
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);
 	}