mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
*** empty log message ***
This commit is contained in:
parent
bdd378eba9
commit
a049313430
@ -342,6 +342,10 @@ initiate(const string &file_name, Filename file_dest,
|
|||||||
first_byte, last_byte, total_bytes,
|
first_byte, last_byte, total_bytes,
|
||||||
partial_content);
|
partial_content);
|
||||||
|
|
||||||
|
_tfirst = 0.0;
|
||||||
|
_tlast = 0.0;
|
||||||
|
_got_any_data = false;
|
||||||
|
|
||||||
return DS_success;
|
return DS_success;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -392,6 +396,9 @@ run(void) {
|
|||||||
_current_status->reset();
|
_current_status->reset();
|
||||||
// Reset the flag
|
// Reset the flag
|
||||||
_recompute_buffer = false;
|
_recompute_buffer = false;
|
||||||
|
// Reset the statistics
|
||||||
|
_tfirst = t0;
|
||||||
|
_current_status->_total_bytes = 0;
|
||||||
|
|
||||||
} else if (_current_status->_bytes_in_buffer + _receive_size >
|
} else if (_current_status->_bytes_in_buffer + _receive_size >
|
||||||
_disk_buffer_size) {
|
_disk_buffer_size) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user