ncannasse 8 vuotta sitten
vanhempi
commit
ddff3f8db1
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      h3d/parts/GpuParticles.hx

+ 2 - 0
h3d/parts/GpuParticles.hx

@@ -446,6 +446,8 @@ class GpuParticles extends h3d.scene.MultiMaterial {
 	}
 
 	override function getBounds(?b:h3d.col.Bounds, rec = false) {
+		if( flags.has(FIgnoreBounds) )
+			return super.getBounds(b, rec);
 		for( g in groups )
 			if( g.needRebuild ) {
 				var s = getScene();