Răsfoiți Sursa

ShaderTargets: fix shader targets obj not removed

LeoVgr 8 luni în urmă
părinte
comite
dbd46cc7f0
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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)
 			for (st in shaderTargets)
-				st.onRemove();
+				st.remove();
 
 		super.onRemove();
 	}