mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Rename empty() to is_empty()
This commit is contained in:
parent
886571e0fc
commit
5b937d493f
289 changed files with 898 additions and 898 deletions
|
@ -407,7 +407,7 @@ bool PluginScriptLanguage::handles_global_class_type(const String &p_type) const
|
|||
}
|
||||
|
||||
String PluginScriptLanguage::get_global_class_name(const String &p_path, String *r_base_type, String *r_icon_path) const {
|
||||
if (!p_path.empty()) {
|
||||
if (!p_path.is_empty()) {
|
||||
Ref<PluginScript> script = ResourceLoader::load(p_path, "PluginScript");
|
||||
if (script.is_valid()) {
|
||||
if (r_base_type) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue