Nicolas Cannasse 4 år sedan
förälder
incheckning
9dc415a818
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      hrt/prefab/fx/FX.hx

+ 1 - 1
hrt/prefab/fx/FX.hx

@@ -403,7 +403,7 @@ class FX extends BaseFX {
 		var root = getFXRoot(ctx, this);
 		var root = getFXRoot(ctx, this);
 		if(root != null){
 		if(root != null){
 			for( c in root.children ) {
 			for( c in root.children ) {
-				var co = Std.downcast(c , Constraint);
+				var co = Std.downcast(c , hrt.prefab.l3d.Constraint);
 				if( co == null )
 				if( co == null )
 					makeChildren(ctx,c);
 					makeChildren(ctx,c);
 			}
 			}