You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Replace String comparisons with "", String() to is_empty()
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
This commit is contained in:
@@ -61,7 +61,7 @@ void MeshLibraryEditor::_menu_update_confirm(bool p_apply_xforms) {
|
||||
cd_update->hide();
|
||||
apply_xforms = p_apply_xforms;
|
||||
String existing = mesh_library->get_meta("_editor_source_scene");
|
||||
ERR_FAIL_COND(existing == "");
|
||||
ERR_FAIL_COND(existing.is_empty());
|
||||
_import_scene_cbk(existing);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user