Explorar o código

[fxparams] Temporary fix getSum

Clement Espeute hai 1 ano
pai
achega
eff0a3023e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 	}