diff --git a/editor/animation/animation_blend_space_2d_editor.cpp b/editor/animation/animation_blend_space_2d_editor.cpp index b9d86de9b1f..70e66f35c53 100644 --- a/editor/animation/animation_blend_space_2d_editor.cpp +++ b/editor/animation/animation_blend_space_2d_editor.cpp @@ -421,7 +421,7 @@ void AnimationNodeBlendSpace2DEditor::_update_tool_erase() { void AnimationNodeBlendSpace2DEditor::_tool_switch(int p_tool) { making_triangle.clear(); - if (p_tool == 2) { + if (p_tool == 3) { Vector bl_points; for (int i = 0; i < blend_space->get_blend_point_count(); i++) { bl_points.push_back(blend_space->get_blend_point_position(i));