mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Made change in networkToLocalTime
This commit is contained in:
parent
35a6e9f49e
commit
ded3f54e98
@ -244,8 +244,11 @@ class ClockDelta(DirectObject.DirectObject):
|
||||
if now == None:
|
||||
now = self.globalClock.getRealTime()
|
||||
|
||||
# Are we in non-real-time mode (i.e. filming a movie)? Just return now
|
||||
if self.globalClock.getMode() == ClockObject.MNonRealTime:
|
||||
# Are we in non-real-time mode (i.e. filming a movie)? If you
|
||||
# set movie-network-time 1, then we'll circumvent this logic
|
||||
# and always return now.
|
||||
if self.globalClock.getMode() == ClockObject.MNonRealTime and \
|
||||
base.config.GetBool('movie-network-time', False):
|
||||
return now
|
||||
|
||||
# First, determine what network time we have for 'now'.
|
||||
|
Loading…
x
Reference in New Issue
Block a user