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_VertexProxy.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_VertexProxy.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_VertexProxy.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/gameengine/Ketsji/KX_VertexProxy.cpp b/source/gameengine/Ketsji/KX_VertexProxy.cpp index eddd110ee81..ab102ee547a 100644 --- a/source/gameengine/Ketsji/KX_VertexProxy.cpp +++ b/source/gameengine/Ketsji/KX_VertexProxy.cpp @@ -328,7 +328,7 @@ PyObject* KX_VertexProxy::PySetXYZ(PyObject*, { m_vertex->SetXYZ(vec); m_mesh->SetMeshModified(true); - Py_Return; + Py_RETURN_NONE; } return NULL; @@ -350,7 +350,7 @@ PyObject* KX_VertexProxy::PySetNormal(PyObject*, { m_vertex->SetNormal(vec); m_mesh->SetMeshModified(true); - Py_Return; + Py_RETURN_NONE; } return NULL; @@ -374,7 +374,7 @@ PyObject* KX_VertexProxy::PySetRGBA(PyObject*, { m_vertex->SetRGBA(MT_Vector4(r, g, b, a)); m_mesh->SetMeshModified(true); - Py_Return; + Py_RETURN_NONE; } PyErr_Clear(); @@ -383,7 +383,7 @@ PyObject* KX_VertexProxy::PySetRGBA(PyObject*, { m_vertex->SetRGBA(rgba); m_mesh->SetMeshModified(true); - Py_Return; + Py_RETURN_NONE; } return NULL; @@ -406,7 +406,7 @@ PyObject* KX_VertexProxy::PySetUV(PyObject*, { m_vertex->SetUV(vec); m_mesh->SetMeshModified(true); - Py_Return; + Py_RETURN_NONE; } return NULL; @@ -434,7 +434,7 @@ PyObject* KX_VertexProxy::PySetUV2(PyObject*, m_vertex->SetUnit(unit); m_vertex->SetUV2(vec); m_mesh->SetMeshModified(true); - Py_Return; + Py_RETURN_NONE; } } return NULL; |