mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 20:23:47 -04:00
shorten the fractional output of previous checkin (long task logging)
This commit is contained in:
parent
98efaf0f62
commit
3a169d14b1
@ -717,7 +717,7 @@ class TaskManager:
|
||||
# warn if the task took too long
|
||||
if self.warnTaskDuration:
|
||||
if dt >= self.taskDurationWarningThreshold:
|
||||
TaskManager.notify.warning('task %s ran for %s seconds' % (
|
||||
TaskManager.notify.warning('task %s ran for %.2f seconds' % (
|
||||
task.name, dt))
|
||||
|
||||
return ret
|
||||
|
Loading…
x
Reference in New Issue
Block a user