diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-12-13 08:36:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-13 08:36:47 +0100 |
commit | b0aeecc02b0669d36ea31a2e5c36797bd5c6067c (patch) | |
tree | 3cf232804ccef9e3d084eca9d7df91960b303de7 /editor/animation_editor.cpp | |
parent | c68b031b052467096a6d8f059e791facb09d82fa (diff) | |
parent | 24df9f3707767f94a8b7842a24013aa3709b1805 (diff) |
Merge pull request #14596 from Noshyaar/pr
Enhance undoredo action name, TTR, cleanup
Diffstat (limited to 'editor/animation_editor.cpp')
-rw-r--r-- | editor/animation_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/animation_editor.cpp b/editor/animation_editor.cpp index c6757ba98f..c6381864b3 100644 --- a/editor/animation_editor.cpp +++ b/editor/animation_editor.cpp @@ -324,7 +324,7 @@ public: int existing = animation->track_find_key(track, new_time, true); setting = true; - undo_redo->create_action(TTR("Move Add Key"), UndoRedo::MERGE_ENDS); + undo_redo->create_action(TTR("Anim Change Keyframe Time"), UndoRedo::MERGE_ENDS); Variant val = animation->track_get_key_value(track, key); float trans = animation->track_get_key_transition(track, key); @@ -391,7 +391,7 @@ public: } setting = true; - undo_redo->create_action(TTR("Anim Change Value"), UndoRedo::MERGE_ENDS); + undo_redo->create_action(TTR("Anim Change Keyframe Value"), UndoRedo::MERGE_ENDS); Variant prev = animation->track_get_key_value(track, key); undo_redo->add_do_method(animation.ptr(), "track_set_key_value", track, key, value); undo_redo->add_undo_method(animation.ptr(), "track_set_key_value", track, key, prev); |