mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -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.
|
# this task accurately aligned with its period and starting time.
|
||||||
self.d_broadcastPosHpr()
|
self.d_broadcastPosHpr()
|
||||||
taskName = self.taskName("sendPosHpr")
|
taskName = self.taskName("sendPosHpr")
|
||||||
taskMgr.doMethodLater(self.__broadcastPeriod,
|
task.delayTime = self.__broadcastPeriod
|
||||||
self.__posHprBroadcast, taskName)
|
return Task.again
|
||||||
return Task.done
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user