summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-02-21 12:33:17 +0100
committerGitHub <noreply@github.com>2022-02-21 12:33:17 +0100
commitadf10902c94cf259ce2cbd56d2835a70ee0d86b1 (patch)
tree87afbdac6f75b4117d733dacd5366a1d2c64bea1 /editor
parentd42250e2fbc513c6a906c4b427dcdcc3fe5645b8 (diff)
parent3a77484f7015ad59f6bffed80f56db8cc3214f60 (diff)
Merge pull request #58315 from KoBeWi/fixibility
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/canvas_item_editor_plugin.cpp2
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 7b79a8135f..85ac258c9c 100644
--- a/editor/plugins/canvas_item_editor_plugin.cpp
+++ b/editor/plugins/canvas_item_editor_plugin.cpp
@@ -3510,7 +3510,7 @@ void CanvasItemEditor::_draw_invisible_nodes_positions(Node *p_node, const Trans
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;
}