mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
ignore nonexisting directories
This commit is contained in:
parent
4030ea3a8e
commit
d21af49d00
@ -578,6 +578,11 @@ copy_reduced(const Filename &archive_dir) {
|
||||
|
||||
Filename reduced_dir(archive_dir, "reduced/" + _dir.get_basename());
|
||||
|
||||
if (!reduced_dir.exists()) {
|
||||
cerr << "Ignoring " << reduced_dir << "; does not exist.\n";
|
||||
return true;
|
||||
}
|
||||
|
||||
if (_got_ds_file) {
|
||||
if (!copy_file(_ds_filename, reduced_dir)) {
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user