You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Rename empty() to is_empty()
This commit is contained in:
@@ -550,7 +550,7 @@ void EditorPropertyArray::_length_changed(double p_page) {
|
||||
void EditorPropertyArray::setup(Variant::Type p_array_type, const String &p_hint_string) {
|
||||
array_type = p_array_type;
|
||||
|
||||
if (array_type == Variant::ARRAY && !p_hint_string.empty()) {
|
||||
if (array_type == Variant::ARRAY && !p_hint_string.is_empty()) {
|
||||
int hint_subtype_separator = p_hint_string.find(":");
|
||||
if (hint_subtype_separator >= 0) {
|
||||
String subtype_string = p_hint_string.substr(0, hint_subtype_separator);
|
||||
|
||||
Reference in New Issue
Block a user