Browse Source

[fxparams] Temporary fix getSum

Clement Espeute 1 năm trước cách đây
mục cha
commit
eff0a3023e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      hrt/prefab/fx/Evaluator.hx

+ 1 - 1
hrt/prefab/fx/Evaluator.hx

@@ -73,7 +73,7 @@ class Evaluator {
 				return getSum(a, time) + getSum(b, time);
 			case VMult(a, VConst(b)): return getSum(a, time) * b;
 			case VZero: return 0;
-			default: throw "Not implemented";
+			default: return 0.0;
 		}
 		return 0.0;
 	}