GamePython related: changed ordering of python destruction, and reverted some python changes (it caused problems)

This commit is contained in:
2006-05-14 03:39:07 +00:00
parent b817c78b0d
commit 337a84ee96
3 changed files with 20 additions and 2 deletions

View File

@@ -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();