Merge pull request #109059 from precup/fix-path3d-gizmo-crash

Fix editor segfault when using a `Path3D` without a `Curve3D`
This commit is contained in:
Thaddeus Crews
2025-07-31 10:39:02 -05:00

View File

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