mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
more efficient dolater on broadcast pos hpr
This commit is contained in:
parent
a34532500e
commit
c96de589dc
@ -82,6 +82,5 @@ class DistributedSmoothNodeBase:
|
||||
# this task accurately aligned with its period and starting time.
|
||||
self.d_broadcastPosHpr()
|
||||
taskName = self.taskName("sendPosHpr")
|
||||
taskMgr.doMethodLater(self.__broadcastPeriod,
|
||||
self.__posHprBroadcast, taskName)
|
||||
return Task.done
|
||||
task.delayTime = self.__broadcastPeriod
|
||||
return Task.again
|
||||
|
Loading…
x
Reference in New Issue
Block a user