|
@@ -144,6 +144,7 @@ void AnimationPlayerEditor::_notification(int p_what) {
|
|
|
ITEM_ICON(TOOL_DUPLICATE_ANIM, "Duplicate");
|
|
|
ITEM_ICON(TOOL_RENAME_ANIM, "Rename");
|
|
|
ITEM_ICON(TOOL_EDIT_TRANSITIONS, "Blend");
|
|
|
+ ITEM_ICON(TOOL_EDIT_RESOURCE, "Edit");
|
|
|
ITEM_ICON(TOOL_REMOVE_ANIM, "Remove");
|
|
|
//ITEM_ICON(TOOL_COPY_ANIM, "Copy");
|
|
|
//ITEM_ICON(TOOL_PASTE_ANIM, "Paste");
|
|
@@ -1667,6 +1668,7 @@ AnimationPlayerEditor::AnimationPlayerEditor(EditorNode *p_editor, AnimationPlay
|
|
|
tool_anim->get_popup()->add_separator();
|
|
|
tool_anim->get_popup()->add_shortcut(ED_SHORTCUT("animation_player_editor/rename_animation", TTR("Rename...")), TOOL_RENAME_ANIM);
|
|
|
tool_anim->get_popup()->add_shortcut(ED_SHORTCUT("animation_player_editor/edit_transitions", TTR("Edit Transitions...")), TOOL_EDIT_TRANSITIONS);
|
|
|
+ tool_anim->get_popup()->add_shortcut(ED_SHORTCUT("animation_player_editor/open_animation_in_inspector", TTR("Open in Inspector")), TOOL_EDIT_RESOURCE);
|
|
|
tool_anim->get_popup()->add_separator();
|
|
|
tool_anim->get_popup()->add_shortcut(ED_SHORTCUT("animation_player_editor/remove_animation", TTR("Remove")), TOOL_REMOVE_ANIM);
|
|
|
hb->add_child(tool_anim);
|