Explorar o código

Shader targets: fix missing super call

lviguier hai 8 meses
pai
achega
08c2f85154
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      hrt/prefab/fx/ShaderTarget.hx

+ 1 - 0
hrt/prefab/fx/ShaderTarget.hx

@@ -26,6 +26,7 @@ class ShaderTargetObj extends h3d.scene.Object {
 	}
 
 	override function onRemove() {
+		super.onRemove();
 		for ( s in shadersRoot.findAll(Shader) )
 			s.dispose();
 	}