You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
size() <= 0 and size() < 1.
This commit is contained in:
@@ -6063,7 +6063,7 @@ bool CanvasItemEditorViewport::_create_instance(Node *p_parent, const String &p_
|
||||
}
|
||||
|
||||
void CanvasItemEditorViewport::_perform_drop_data() {
|
||||
ERR_FAIL_COND(selected_files.size() <= 0);
|
||||
ERR_FAIL_COND(selected_files.is_empty());
|
||||
|
||||
_remove_preview();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user