Browse Source

fixed CInterval.setT ffi problem

Darren Ranalli 21 years ago
parent
commit
2950347587
2 changed files with 2 additions and 2 deletions
  1. 1 1
      direct/src/extensions/CInterval-extensions.py
  2. 1 1
      direct/src/ffi/FFIRename.py

+ 1 - 1
direct/src/extensions/CInterval-extensions.py

@@ -11,7 +11,7 @@
         # Overridden from the C++ function to call privPostEvent
         # Overridden from the C++ function to call privPostEvent
         # afterward.  We do this by renaming the C++ function in
         # afterward.  We do this by renaming the C++ function in
         # FFIRename.
         # FFIRename.
-        self.__cSetT(t)
+        self._priv__cSetT(t)
         self.privPostEvent()
         self.privPostEvent()
 
 
     def play(self, t0 = 0.0, duration = None, scale = 1.0):
     def play(self, t0 = 0.0, duration = None, scale = 1.0):

+ 1 - 1
direct/src/ffi/FFIRename.py

@@ -44,7 +44,7 @@ methodRenameDictionary = {
     'operator<<=' : '__ilshift__',
     'operator<<=' : '__ilshift__',
     'operator>>=' : '__irshift__',
     'operator>>=' : '__irshift__',
     'print'       : 'Cprint',
     'print'       : 'Cprint',
-    'CInterval.setT' : '__cSetT',
+    'CInterval.setT' : '_priv__cSetT',
     }
     }
     
     
 classRenameDictionary = {
 classRenameDictionary = {