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