You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-03 16:55:53 +00:00
Fix error when switching to point movement mode from edit mode
This commit is contained in:
@@ -421,7 +421,7 @@ void AnimationNodeBlendSpace2DEditor::_update_tool_erase() {
|
|||||||
void AnimationNodeBlendSpace2DEditor::_tool_switch(int p_tool) {
|
void AnimationNodeBlendSpace2DEditor::_tool_switch(int p_tool) {
|
||||||
making_triangle.clear();
|
making_triangle.clear();
|
||||||
|
|
||||||
if (p_tool == 2) {
|
if (p_tool == 3) {
|
||||||
Vector<Vector2> bl_points;
|
Vector<Vector2> bl_points;
|
||||||
for (int i = 0; i < blend_space->get_blend_point_count(); i++) {
|
for (int i = 0; i < blend_space->get_blend_point_count(); i++) {
|
||||||
bl_points.push_back(blend_space->get_blend_point_position(i));
|
bl_points.push_back(blend_space->get_blend_point_position(i));
|
||||||
|
|||||||
Reference in New Issue
Block a user