wrap keyframing settings in IsKeyframable just because

This commit is contained in:
itsmattkc
2021-01-29 17:36:58 +11:00
parent ad4b83a098
commit b748b1142b
2 changed files with 10 additions and 3 deletions
+3 -1
View File
@@ -223,7 +223,9 @@ void NodeInput::ClearElement(int index)
{
GetImmediate(index)->delete_all_keyframes();
SetIsKeyframing(false, index);
if (IsKeyframable()) {
SetIsKeyframing(false, index);
}
SetSplitStandardValue(default_value_, index);
}