mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 15:25:54 -04:00
pstats: Fix flame graph showing old results when opening in non-running session
This commit is contained in:
parent
fd7f738365
commit
12c51fe2f6
@ -40,7 +40,7 @@ PStatFlameGraph(PStatMonitor *monitor,
|
||||
|
||||
// NB. This won't call force_redraw() (which we can't do yet) because average
|
||||
// mode is true
|
||||
update_data();
|
||||
update();
|
||||
_time_width = _stack.get_net_value(false);
|
||||
if (_time_width == 0.0) {
|
||||
_time_width = 1.0 / pstats_target_frame_rate;
|
||||
|
Loading…
x
Reference in New Issue
Block a user