Browse Source

[fx] Allow blend in vMult in emitters params

Clément Espeute 9 tháng trước cách đây
mục cha
commit
55b3da864b
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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);