diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2006-05-14 07:39:07 +0400 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2006-05-14 07:39:07 +0400 |
commit | 337a84ee969ff2c86452f1e54d46beab5ee0d268 (patch) | |
tree | 961d44d19bff41e67facb05110b1b659793d4314 /source/gameengine/GameLogic/SCA_PythonController.h | |
parent | b817c78b0d5c7bd50ac4bf2c4b21751d61cc2342 (diff) |
GamePython related: changed ordering of python destruction, and reverted some python changes (it caused problems)
Diffstat (limited to 'source/gameengine/GameLogic/SCA_PythonController.h')
-rw-r--r-- | source/gameengine/GameLogic/SCA_PythonController.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/gameengine/GameLogic/SCA_PythonController.h b/source/gameengine/GameLogic/SCA_PythonController.h index 574bf35be7e..da2cd4b0bcd 100644 --- a/source/gameengine/GameLogic/SCA_PythonController.h +++ b/source/gameengine/GameLogic/SCA_PythonController.h @@ -54,6 +54,10 @@ class SCA_PythonController : public SCA_IController public: static SCA_PythonController* m_sCurrentController; // protected !!! + //for debugging + //virtual CValue* AddRef(); + //virtual int Release(); // Release a reference to this value (when reference count reaches 0, the value is removed from the heap) + SCA_PythonController(SCA_IObject* gameobj,PyTypeObject* T = &Type); virtual ~SCA_PythonController(); |