You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Fix the update logic for user-added custom defines.
The previous logic was causing the (unintentional) removal of custom defines automatically added by the engine.
This commit is contained in:
@@ -128,7 +128,7 @@ public:
|
||||
|
||||
FUNC2(shader_add_custom_define, RID, const String &)
|
||||
FUNC2SC(shader_get_custom_defines, RID, Vector<String> *)
|
||||
FUNC1(shader_clear_custom_defines, RID)
|
||||
FUNC2(shader_remove_custom_define, RID, const String &)
|
||||
|
||||
/* COMMON MATERIAL API */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user