mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
truncate subfile when writing it
This commit is contained in:
parent
6a46a94f3c
commit
c2613e4079
@ -167,7 +167,7 @@ step() {
|
||||
_multifile.get_subfile_name(_subfile_index));
|
||||
_subfile_filename.set_binary();
|
||||
_subfile_filename.make_dir();
|
||||
if (!_subfile_filename.open_write(_write)) {
|
||||
if (!_subfile_filename.open_write(_write, true)) {
|
||||
downloader_cat.error()
|
||||
<< "Unable to write to " << _subfile_filename << ".\n";
|
||||
reset();
|
||||
|
Loading…
x
Reference in New Issue
Block a user