summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-03-13 16:18:44 +0100
committerkobewi <kobewi4e@gmail.com>2022-03-13 18:20:53 +0100
commit3c53752b4a13a8f81b57bb6efb69dd4c08b55ed3 (patch)
tree36ba248c2a4e95fd26e39991082d90ea26a060fc /editor
parent47c35f5b9665a04bdddccb0d34fc7983dd78be3d (diff)
Cleanup embed subwindows getters
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index de0465a160..7251530fdc 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -6291,7 +6291,7 @@ EditorNode::EditorNode() {
scene_root_parent->set_v_size_flags(Control::SIZE_EXPAND_FILL);
scene_root = memnew(SubViewport);
- scene_root->set_embed_subwindows_hint(true);
+ scene_root->set_embedding_subwindows(true);
scene_root->set_disable_3d(true);
scene_root->set_disable_input(true);