Browse Source

[fx] Allow blend in vMult in emitters params

Clément Espeute 9 months ago
parent
commit
55b3da864b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      hrt/prefab/fx/Emitter.hx

+ 2 - 0
hrt/prefab/fx/Emitter.hx

@@ -1748,6 +1748,8 @@ class Emitter extends Object3D {
 							case VCurve(vb): return VAddRandCurve(av, ri, rscale, vb);
 							default:
 						}
+					case VBlend(_,_,_):
+						return VMult(a, b);
 					default:
 				}
 				throw "Need optimization" + Std.string(a)+ " * " + Std.string(b);