Explorar o código

Reference: fix file instances not being marked as references, causing them to register in contexts, causing errors on scene tree

trethaller %!s(int64=6) %!d(string=hai) anos
pai
achega
635f6a85df
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      hide/prefab/Reference.hx

+ 1 - 0
hide/prefab/Reference.hx

@@ -76,6 +76,7 @@ class Reference extends Object3D {
 
 		if(isFile()) {
 			ctx = super.makeInstance(ctx);
+			ctx.isRef = true;
 			p.makeInstance(ctx);
 		}
 		else {