diff --git a/editor/animation/animation_blend_space_1d_editor.cpp b/editor/animation/animation_blend_space_1d_editor.cpp index 072b56c08e4..2177411b492 100644 --- a/editor/animation/animation_blend_space_1d_editor.cpp +++ b/editor/animation/animation_blend_space_1d_editor.cpp @@ -136,6 +136,12 @@ void AnimationNodeBlendSpace1DEditor::_blend_space_gui_input(const Ref node = blend_space->get_blend_point_node(i); EditorNode::get_singleton()->push_item(node.ptr(), "", true); + + if (mb->is_double_click() && AnimationTreeEditor::get_singleton()->can_edit(node)) { + _open_editor(); + return; + } + dragging_selected_attempt = true; drag_from = mb->get_position(); _update_tool_erase(); diff --git a/editor/animation/animation_blend_space_2d_editor.cpp b/editor/animation/animation_blend_space_2d_editor.cpp index d5dcd379e73..067e05735d3 100644 --- a/editor/animation/animation_blend_space_2d_editor.cpp +++ b/editor/animation/animation_blend_space_2d_editor.cpp @@ -177,6 +177,12 @@ void AnimationNodeBlendSpace2DEditor::_blend_space_gui_input(const Ref node = blend_space->get_blend_point_node(i); EditorNode::get_singleton()->push_item(node.ptr(), "", true); + + if (mb->is_double_click() && AnimationTreeEditor::get_singleton()->can_edit(node)) { + _open_editor(); + return; + } + dragging_selected_attempt = true; drag_from = mb->get_position(); _update_tool_erase();