Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-04-19 18:57:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-04-19 18:57:52 +0400
commit7dbc9dc719c3eb0823e4f9e7ae94a479f9427ea7 (patch)
treeabaae0ea91ef351379f72f00c31f5a67ae0865af /source/gameengine/GameLogic/SCA_MouseSensor.cpp
parent8d2cb5bea44f4245dd17f2d82cbd0251d8090fd5 (diff)
BGE Python API cleanup - no functionality changes
- comments to PyObjectPlus.h - remove unused/commented junk. - renamed PyDestructor to py_base_dealloc for consistency - all the PyTypeObject's were still using the sizeof() their class, can use sizeof(PyObjectPlus_Proxy) now which is smaller too.
Diffstat (limited to 'source/gameengine/GameLogic/SCA_MouseSensor.cpp')
-rw-r--r--source/gameengine/GameLogic/SCA_MouseSensor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/GameLogic/SCA_MouseSensor.cpp b/source/gameengine/GameLogic/SCA_MouseSensor.cpp
index 86e64491f6a..0c30f503068 100644
--- a/source/gameengine/GameLogic/SCA_MouseSensor.cpp
+++ b/source/gameengine/GameLogic/SCA_MouseSensor.cpp
@@ -303,9 +303,9 @@ PyTypeObject SCA_MouseSensor::Type = {
PyObject_HEAD_INIT(NULL)
0,
"SCA_MouseSensor",
- sizeof(SCA_MouseSensor),
+ sizeof(PyObjectPlus_Proxy),
0,
- PyDestructor,
+ py_base_dealloc,
0,
0,
0,