Rename "Add Node Here to Add 2D Node Here to avoid confusion
when right click on 2d scene to add nodes
This commit is contained in:
parent
a3e84cc2af
commit
ee3bc98808
1 changed files with 1 additions and 1 deletions
|
|
@ -2467,7 +2467,7 @@ bool CanvasItemEditor::_gui_input_select(const Ref<InputEvent> &p_event) {
|
|||
|
||||
if (b.is_valid() && b->is_pressed() && b->get_button_index() == MouseButton::RIGHT) {
|
||||
add_node_menu->clear();
|
||||
add_node_menu->add_icon_item(get_editor_theme_icon(SNAME("Add")), TTRC("Add Node Here..."), ADD_NODE);
|
||||
add_node_menu->add_icon_item(get_editor_theme_icon(SNAME("Add")), TTRC("Add 2D Node Here..."), ADD_NODE);
|
||||
add_node_menu->add_icon_item(get_editor_theme_icon(SNAME("Instance")), TTRC("Instantiate Scene Here..."), ADD_INSTANCE);
|
||||
for (Node *node : SceneTreeDock::get_singleton()->get_node_clipboard()) {
|
||||
if (Object::cast_to<CanvasItem>(node)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue