Fix error when switching to point movement mode from edit mode

This commit is contained in:
vaner-org 2025-11-13 10:29:34 +05:30
parent 06faefc9f4
commit 6146f3efee

View file

@ -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<Vector2> 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));