mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -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());
|
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 (_got_ds_file) {
|
||||||
if (!copy_file(_ds_filename, reduced_dir)) {
|
if (!copy_file(_ds_filename, reduced_dir)) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user