浏览代码

Merge pull request #47362 from Calinou/editor-hide-renderer-selection

Hide renderer selection dropdown in the editor as it's not implemented
Rémi Verschelde 4 年之前
父节点
当前提交
0d2da276b8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      editor/editor_node.cpp

+ 2 - 2
editor/editor_node.cpp

@@ -6466,8 +6466,8 @@ EditorNode::EditorNode() {
 	video_driver->connect("item_selected", callable_mp(this, &EditorNode::_video_driver_selected));
 	video_driver->add_theme_font_override("font", gui_base->get_theme_font("bold", "EditorFonts"));
 	video_driver->add_theme_font_size_override("font_size", gui_base->get_theme_font_size("bold_size", "EditorFonts"));
-	// TODO re-enable when GLES2 is ported
-	video_driver->set_disabled(true);
+	// TODO: Show again when OpenGL is ported.
+	video_driver->set_visible(false);
 	right_menu_hb->add_child(video_driver);
 
 #ifndef _MSC_VER