summaryrefslogtreecommitdiff
path: root/editor/project_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/project_manager.cpp')
-rw-r--r--editor/project_manager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp
index 75773edc86..4f10fe5108 100644
--- a/editor/project_manager.cpp
+++ b/editor/project_manager.cpp
@@ -434,6 +434,8 @@ private:
}
void _renderer_selected() {
+ ERR_FAIL_COND(!renderer_button_group->get_pressed_button());
+
String renderer_type = renderer_button_group->get_pressed_button()->get_meta(SNAME("rendering_method"));
if (renderer_type == "forward_plus") {