Skip to content

Commit 96cf513

Browse files
committed
Merge pull request #104945 from YeldhamDev/subgizmo_lock_ignore
Fix gizmos from 3D editor plugins not applying changes to locked nodes
2 parents 4287bbb + 3d737cb commit 96cf513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/scene/3d/node_3d_editor_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5224,7 +5224,7 @@ void Node3DEditorViewport::apply_transform(Vector3 p_motion, double p_snap) {
52245224
continue;
52255225
}
52265226

5227-
if (sp->has_meta("_edit_lock_")) {
5227+
if (sp->has_meta("_edit_lock_") && !spatial_editor->is_gizmo_visible()) {
52285228
continue;
52295229
}
52305230

0 commit comments

Comments
 (0)