mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 11:28:17 -04:00
oops, legal not to have a cache dir
This commit is contained in:
parent
319aa260e0
commit
8a6a7ee3e2
@ -62,7 +62,10 @@ BamCache() :
|
|||||||
|
|
||||||
_flush_time = model_cache_flush;
|
_flush_time = model_cache_flush;
|
||||||
_max_kbytes = model_cache_max_kbytes;
|
_max_kbytes = model_cache_max_kbytes;
|
||||||
set_root(model_cache_dir);
|
|
||||||
|
if (!model_cache_dir.empty()) {
|
||||||
|
set_root(model_cache_dir);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user