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-02-21 15:43:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-02-21 15:43:24 +0300
commit9d5c2af1d1e11d40fec6c0da96cb37de1684f13c (patch)
tree2f59b3a9179b98a1dc6893af3ac2258cbea196c1 /source/gameengine/Ketsji/KX_VertexProxy.cpp
parenta3b684d69878eaff3e0ad475264485419e0c029f (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.cpp12
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;