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:
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;