Allow Viewport children to lock, group, and key
This commit is contained in:
parent
47bc374edf
commit
159d70a470
2 changed files with 0 additions and 40 deletions
|
|
@ -6771,10 +6771,6 @@ void Node3DEditor::_menu_item_pressed(int p_option) {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (spatial->get_viewport() != EditorNode::get_singleton()->get_scene_root()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
undo_redo->add_do_method(spatial, "set_meta", "_edit_lock_", true);
|
||||
undo_redo->add_undo_method(spatial, "remove_meta", "_edit_lock_");
|
||||
undo_redo->add_do_method(this, "emit_signal", "item_lock_status_changed");
|
||||
|
|
@ -6796,10 +6792,6 @@ void Node3DEditor::_menu_item_pressed(int p_option) {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (spatial->get_viewport() != EditorNode::get_singleton()->get_scene_root()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
undo_redo->add_do_method(spatial, "remove_meta", "_edit_lock_");
|
||||
undo_redo->add_undo_method(spatial, "set_meta", "_edit_lock_", true);
|
||||
undo_redo->add_do_method(this, "emit_signal", "item_lock_status_changed");
|
||||
|
|
@ -6821,10 +6813,6 @@ void Node3DEditor::_menu_item_pressed(int p_option) {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (spatial->get_viewport() != EditorNode::get_singleton()->get_scene_root()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
undo_redo->add_do_method(spatial, "set_meta", "_edit_group_", true);
|
||||
undo_redo->add_undo_method(spatial, "remove_meta", "_edit_group_");
|
||||
undo_redo->add_do_method(this, "emit_signal", "item_group_status_changed");
|
||||
|
|
@ -6845,10 +6833,6 @@ void Node3DEditor::_menu_item_pressed(int p_option) {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (spatial->get_viewport() != EditorNode::get_singleton()->get_scene_root()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
undo_redo->add_do_method(spatial, "remove_meta", "_edit_group_");
|
||||
undo_redo->add_undo_method(spatial, "set_meta", "_edit_group_", true);
|
||||
undo_redo->add_do_method(this, "emit_signal", "item_group_status_changed");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue