From 6146f3efee03cd0d93881d2bc852b89de50a9fcc Mon Sep 17 00:00:00 2001 From: vaner-org Date: Thu, 13 Nov 2025 10:29:34 +0530 Subject: [PATCH] Fix error when switching to point movement mode from edit mode --- editor/animation/animation_blend_space_2d_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));