Browse Source

Merge pull request #104945 from YeldhamDev/subgizmo_lock_ignore

Fix gizmos from 3D editor plugins not applying changes to locked nodes
Thaddeus Crews 3 weeks ago
parent
commit
96cf51335c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/scene/3d/node_3d_editor_plugin.cpp

+ 1 - 1
editor/scene/3d/node_3d_editor_plugin.cpp

@@ -5224,7 +5224,7 @@ void Node3DEditorViewport::apply_transform(Vector3 p_motion, double p_snap) {
 			continue;
 		}
 
-		if (sp->has_meta("_edit_lock_")) {
+		if (sp->has_meta("_edit_lock_") && !spatial_editor->is_gizmo_visible()) {
 			continue;
 		}