You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Rename the .shader file extension to .gdshader
This lets third-party software recognize Godot shaders more easily, without relying on guesswork since the `.shader` extension is generic.
This commit is contained in:
@@ -1103,7 +1103,7 @@ ProjectSettings::ProjectSettings() {
|
||||
if (Engine::get_singleton()->has_singleton("GodotSharp")) {
|
||||
extensions.push_back("cs");
|
||||
}
|
||||
extensions.push_back("shader");
|
||||
extensions.push_back("gdshader");
|
||||
|
||||
GLOBAL_DEF("editor/script/search_in_file_extensions", extensions);
|
||||
custom_prop_info["editor/script/search_in_file_extensions"] = PropertyInfo(Variant::PACKED_STRING_ARRAY, "editor/script/search_in_file_extensions");
|
||||
|
||||
Reference in New Issue
Block a user