diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-02-21 15:43:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-02-21 15:43:24 +0300 |
commit | 9d5c2af1d1e11d40fec6c0da96cb37de1684f13c (patch) | |
tree | 2f59b3a9179b98a1dc6893af3ac2258cbea196c1 /source/gameengine/Ketsji/KX_Camera.cpp | |
parent | a3b684d69878eaff3e0ad475264485419e0c029f (diff) |
* removed typedefs that were not used (from anonymous enums and structs)
* Missed some cases of using a 'char *' as an attribute
* replace BGE's Py_Return macro with Pythons Py_RETURN_NONE
* other minor warnings removed
Diffstat (limited to 'source/gameengine/Ketsji/KX_Camera.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_Camera.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/gameengine/Ketsji/KX_Camera.cpp b/source/gameengine/Ketsji/KX_Camera.cpp index 809bcdba8c9..043070ee207 100644 --- a/source/gameengine/Ketsji/KX_Camera.cpp +++ b/source/gameengine/Ketsji/KX_Camera.cpp @@ -812,7 +812,7 @@ KX_PYMETHODDEF_DOC(KX_Camera, setProjectionMatrix, if (PyMatTo(pymat, mat)) { SetProjectionMatrix(mat); - Py_Return; + Py_RETURN_NONE; } } @@ -837,7 +837,7 @@ KX_PYMETHODDEF_DOC(KX_Camera, enableViewport, return NULL; } - Py_Return; + Py_RETURN_NONE; } KX_PYMETHODDEF_DOC(KX_Camera, setViewport, @@ -851,7 +851,7 @@ KX_PYMETHODDEF_DOC(KX_Camera, setViewport, } else { return NULL; } - Py_Return; + Py_RETURN_NONE; } KX_PYMETHODDEF_DOC(KX_Camera, setOnTop, @@ -863,5 +863,5 @@ KX_PYMETHODDEF_DOC(KX_Camera, setOnTop, scene = KX_GetActiveScene(); MT_assert(scene); scene->SetCameraOnTop(this); - Py_Return; + Py_RETURN_NONE; } |