Procházet zdrojové kódy

ShaderTargets: fix shader targets obj not removed

LeoVgr před 8 měsíci
rodič
revize
dbd46cc7f0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      hrt/prefab/fx/FX.hx

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

@@ -531,7 +531,7 @@ class FXAnimation extends h3d.scene.Object {
 
 
 		if (shaderTargets != null)
 		if (shaderTargets != null)
 			for (st in shaderTargets)
 			for (st in shaderTargets)
-				st.onRemove();
+				st.remove();
 
 
 		super.onRemove();
 		super.onRemove();
 	}
 	}