parent
abfa4b822b
commit
4bb85b70e1
|
@ -4189,7 +4189,7 @@ void EditorNode::_dropped_files(const Vector<String> &p_files, int p_screen) {
|
||||||
for (int i = 0; i < p_files.size(); i++) {
|
for (int i = 0; i < p_files.size(); i++) {
|
||||||
|
|
||||||
String from = p_files[i];
|
String from = p_files[i];
|
||||||
if (!ResourceFormatImporter::get_singleton()->can_be_imported(from) && (just_copy.find(from.get_extension().to_lower()) != -1)) {
|
if (!ResourceFormatImporter::get_singleton()->can_be_imported(from) && (just_copy.find(from.get_extension().to_lower()) == -1)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
String to = to_path.plus_file(from.get_file());
|
String to = to_path.plus_file(from.get_file());
|
||||||
|
|
Loading…
Reference in New Issue