mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 23:33:48 +02:00
Added linear to stringToEasingType()
This commit is contained in:
parent
ec08139a46
commit
727c04791c
1 changed files with 3 additions and 1 deletions
|
@ -112,7 +112,9 @@ static AnimRandomSwitch::InterpType stringToRandomInterpType(const QString& str)
|
|||
}
|
||||
|
||||
static EasingType stringToEasingType(const QString& str) {
|
||||
if (str == "easeInSine") {
|
||||
if (str == "linear") {
|
||||
return EasingType_Linear;
|
||||
} else if (str == "easeInSine") {
|
||||
return EasingType_EaseInSine;
|
||||
} else if (str == "easeOutSine") {
|
||||
return EasingType_EaseOutSine;
|
||||
|
|
Loading…
Reference in a new issue