AnimationMultiTrackKeyEdit Allow editing easing if it's possible for all edited tracks
This commit is contained in:
parent
13c4796693
commit
1d890e16f7
1 changed files with 19 additions and 21 deletions
|
@ -1168,10 +1168,7 @@ public:
|
|||
p_list->push_back(PropertyInfo(Variant::VECTOR3, "scale"));
|
||||
} break;
|
||||
case Animation::TYPE_VALUE: {
|
||||
if (!same_key_type) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (same_key_type) {
|
||||
Variant v = animation->track_get_key_value(first_track, first_key);
|
||||
|
||||
if (hint.type != Variant::NIL) {
|
||||
|
@ -1195,6 +1192,7 @@ public:
|
|||
p_list->push_back(PropertyInfo(v.get_type(), "value", hint, hint_string));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
p_list->push_back(PropertyInfo(Variant::FLOAT, "easing", PROPERTY_HINT_EXP_EASING));
|
||||
} break;
|
||||
|
|
Loading…
Reference in a new issue