mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
pstats track lerp intervals better
This commit is contained in:
parent
852006bfee
commit
4b2e5394c4
@ -592,6 +592,7 @@ setup_resume_until(double end_t) {
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
bool CInterval::
|
bool CInterval::
|
||||||
step_play() {
|
step_play() {
|
||||||
|
PStatTimer timer(_ival_pcollector);
|
||||||
double now = ClockObject::get_global_clock()->get_frame_time();
|
double now = ClockObject::get_global_clock()->get_frame_time();
|
||||||
|
|
||||||
if (_play_rate >= 0.0) {
|
if (_play_rate >= 0.0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user