From 9d5c2af1d1e11d40fec6c0da96cb37de1684f13c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 21 Feb 2009 12:43:24 +0000 Subject: * 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 --- source/gameengine/Ketsji/KX_VertexProxy.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source/gameengine/Ketsji/KX_VertexProxy.cpp') 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; -- cgit v1.2.3