Browse Source

CInterval extension needed to call the C method of the same name - setT

Jason Persampieri 20 years ago
parent
commit
3fe58a3512
1 changed files with 2 additions and 1 deletions
  1. 2 1
      direct/src/extensions_native/CInterval_extensions.py

+ 2 - 1
direct/src/extensions_native/CInterval_extensions.py

@@ -12,9 +12,10 @@ def setT(self, t):
     # 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._priv__cSetT(t)
+    self.setT_Old(t)
     self.privPostEvent()
     self.privPostEvent()
 
 
+Dtool_ObjectToDict(CInterval, "setT_Old", CInterval.setT)
 Dtool_funcToMethod(setT, CInterval)        
 Dtool_funcToMethod(setT, CInterval)        
 del setT
 del setT
 #####################################################################
 #####################################################################