Skip to content

Commit

Permalink
Merge pull request #58896 from timothyqiu/locks-n-groups
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored Mar 8, 2022
2 parents 7613985 + fb999eb commit f470979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/plugins/canvas_item_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit f470979

Please sign in to comment.