Godot Engine – Multi-platform 2D and 3D game engine
Clear subgizmo selection before calling clear_points
christiano.christakou787c5905cc17
diff --git a/editor/scene/3d/path_3d_editor_plugin.cpp b/editor/scene/3d/path_3d_editor_plugin.cppindex 865ee95d3f0..578ce6638d8 100644--- a/editor/scene/3d/path_3d_editor_plugin.cpp+++ b/editor/scene/3d/path_3d_editor_plugin.cpp@@ -894,6 +894,7 @@ void Path3DEditorPlugin::_clear_curve_points() {return;}Ref<Curve3D> curve = path->get_curve();+ Node3DEditor::get_singleton()->clear_subgizmo_selection(path);curve->set_closed(false);curve->clear_points();}