Mark GDScript and shader warnings for translation
This commit is contained in:
parent
987832be46
commit
015cc38912
4 changed files with 60 additions and 63 deletions
|
|
@ -2964,6 +2964,12 @@ GDScriptLanguage::GDScriptLanguage() {
|
|||
String path = GDScriptWarning::get_settings_path_from_code(code);
|
||||
GLOBAL_DEF(GDScriptWarning::get_property_info(code), default_enabled);
|
||||
}
|
||||
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
ProjectSettings::get_singleton()->set_as_internal("debug/gdscript/warnings/property_used_as_function", true);
|
||||
ProjectSettings::get_singleton()->set_as_internal("debug/gdscript/warnings/constant_used_as_function", true);
|
||||
ProjectSettings::get_singleton()->set_as_internal("debug/gdscript/warnings/function_used_as_property", true);
|
||||
#endif
|
||||
#endif // DEBUG_ENABLED
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue