summaryrefslogtreecommitdiff
path: root/servers/rendering/rendering_server_default.h
diff options
context:
space:
mode:
authorreduz <reduzio@gmail.com>2021-06-29 13:36:32 -0300
committerreduz <reduzio@gmail.com>2021-06-29 17:40:45 -0300
commitd07f7c8d2516a338547dc4bbd73e17d3b357c8d7 (patch)
treedd46a26b78e4fb92f78b4cdac3a3acb9ca95607c /servers/rendering/rendering_server_default.h
parent916c37de09871be0f5578f2f23f700ecaa08f836 (diff)
Fixes to 2D viewport
* Editor 2D viewport now uses embedded subwindows (windows no longer pop up) * Restored the ability to disable 3D on the 2D viewport (makes 3D not display on 2D when there is a camera on the scene)
Diffstat (limited to 'servers/rendering/rendering_server_default.h')
-rw-r--r--servers/rendering/rendering_server_default.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering/rendering_server_default.h b/servers/rendering/rendering_server_default.h
index 16e9f1fc77..b9afeafbab 100644
--- a/servers/rendering/rendering_server_default.h
+++ b/servers/rendering/rendering_server_default.h
@@ -585,6 +585,7 @@ public:
FUNC2(viewport_set_hide_scenario, RID, bool)
FUNC2(viewport_set_hide_canvas, RID, bool)
FUNC2(viewport_set_disable_environment, RID, bool)
+ FUNC2(viewport_set_disable_3d, RID, bool)
FUNC2(viewport_attach_camera, RID, RID)
FUNC2(viewport_set_scenario, RID, RID)