1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Remove "dummy" renderer from the editor dropdown.

This commit is contained in:
Pāvels Nadtočajevs
2025-04-09 23:42:49 +03:00
parent a8598cd8e2
commit 1054ab8239
2 changed files with 8 additions and 5 deletions

View File

@@ -7844,6 +7844,9 @@ EditorNode::EditorNode() {
PackedStringArray renderers = ProjectSettings::get_singleton()->get_custom_property_info().get(StringName("rendering/renderer/rendering_method")).hint_string.split(",", false);
for (int i = 0; i < renderers.size(); i++) {
String rendering_method = renderers[i];
if (rendering_method == "dummy") {
continue;
}
_add_renderer_entry(rendering_method, false);
renderer->set_item_metadata(i, rendering_method);
// Lowercase for standard comparison.