Przeglądaj źródła

Allow full edition of references even when placed on root, not sure why this was still a limitation

trethaller 5 lat temu
rodzic
commit
95ff9960cd
1 zmienionych plików z 1 dodań i 6 usunięć
  1. 1 6
      hrt/prefab/Reference.hx

+ 1 - 6
hrt/prefab/Reference.hx

@@ -149,12 +149,7 @@ class Reference extends Object3D {
 			}
 		});
 
-		var parentCtx = ctx.getContext(parent);
-		var selfCtx = ctx.getContext(this);
-		var p = resolveRef(ctx.rootContext.shared);
-		if(selfCtx != null && parentCtx != null && parentCtx.local3d != selfCtx.local3d) {
-			super.edit(ctx);
-		}
+		super.edit(ctx);
 	}
 
 	override function getHideProps() : HideProps {