mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
added comment
This commit is contained in:
parent
fc993f793c
commit
515a6ba022
@ -126,6 +126,7 @@ class JobManager:
|
||||
@staticmethod
|
||||
def getDefaultTimeslice():
|
||||
# run for 1/2 millisecond per frame by default
|
||||
# config is in milliseconds, this func returns value in seconds
|
||||
return getBase().config.GetFloat('job-manager-timeslice-ms', .5) / 1000.
|
||||
def getTimeslice(self):
|
||||
if self._timeslice:
|
||||
|
Loading…
x
Reference in New Issue
Block a user