mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
@@ -104,8 +104,7 @@ var DynamicAnimCurve = cc.Class({
|
||||
value = fromVal + (toVal - fromVal) * ratio;
|
||||
}
|
||||
else {
|
||||
var lerp = fromVal.lerp;
|
||||
if (lerp) {
|
||||
if (fromVal && fromVal.lerp) {
|
||||
value = fromVal.lerp(toVal, ratio);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user