David Rose 17 роки тому
батько
коміт
d78fdb169f
1 змінених файлів з 1 додано та 2 видалено
  1. 1 2
      direct/src/showbase/ShowBase.py

+ 1 - 2
direct/src/showbase/ShowBase.py

@@ -256,13 +256,12 @@ class ShowBase(DirectObject.DirectObject):
 
 
         # Get a pointer to Panda's global ClockObject, used for
         # Get a pointer to Panda's global ClockObject, used for
         # synchronizing events between Python and C.
         # synchronizing events between Python and C.
-        # object is exactly in sync with the TrueClock.
         globalClock = ClockObject.getGlobalClock()
         globalClock = ClockObject.getGlobalClock()
 
 
         # Since we have already started up a TaskManager, and probably
         # Since we have already started up a TaskManager, and probably
         # a number of tasks; and since the TaskManager had to use the
         # a number of tasks; and since the TaskManager had to use the
         # TrueClock to tell time until this moment, make sure the
         # TrueClock to tell time until this moment, make sure the
-        # globalClock
+        # globalClock object is exactly in sync with the TrueClock.
         trueClock = TrueClock.getGlobalPtr()
         trueClock = TrueClock.getGlobalPtr()
         globalClock.setRealTime(trueClock.getShortTime())
         globalClock.setRealTime(trueClock.getShortTime())
         globalClock.tick()
         globalClock.tick()