diff --git a/editor/scene/3d/path_3d_editor_plugin.cpp b/editor/scene/3d/path_3d_editor_plugin.cpp index 94a42671e7a..8ac32394e10 100644 --- a/editor/scene/3d/path_3d_editor_plugin.cpp +++ b/editor/scene/3d/path_3d_editor_plugin.cpp @@ -741,7 +741,7 @@ void Path3DEditorPlugin::edit(Object *p_object) { } else { Path3D *pre = path; path = nullptr; - if (pre) { + if (pre && pre->get_curve().is_valid()) { pre->get_curve()->emit_signal(CoreStringName(changed)); } }