diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-03-08 12:54:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 12:54:59 +0100 |
commit | f470979732513436124c01a465b22f948637b5fa (patch) | |
tree | 427db008251a913c8426d9cb9ed3a880541939a9 | |
parent | 761398556ea215cb0038418179ec601934bfd549 (diff) | |
parent | fb999ebe2204898ebf86c1f50dfb55bf1a5521b6 (diff) |
Merge pull request #58896 from timothyqiu/locks-n-groups
-rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index e43d1feb08..75f97efdbc 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -3580,7 +3580,7 @@ void CanvasItemEditor::_draw_locks_and_groups(Node *p_node, const Transform2D &p return; } CanvasItem *canvas_item = Object::cast_to<CanvasItem>(p_node); - if (canvas_item && !canvas_item->is_visible()) { + if (canvas_item && !canvas_item->is_visible_in_tree()) { return; } |