2
0
Эх сурвалжийг харах

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

trethaller 6 жил өмнө
parent
commit
635f6a85df

+ 1 - 0
hide/prefab/Reference.hx

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