Explorar o código

ShaderTargets: fix shader targets obj not removed

LeoVgr hai 8 meses
pai
achega
dbd46cc7f0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
 	}