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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/gameengine/Ketsji/KX_VertexProxy.cpp b/source/gameengine/Ketsji/KX_VertexProxy.cpp
index cacf3987e63..9c5f3f611b6 100644
--- a/source/gameengine/Ketsji/KX_VertexProxy.cpp
+++ b/source/gameengine/Ketsji/KX_VertexProxy.cpp
@@ -93,9 +93,9 @@ KX_VertexProxy::_getattr(const STR_String& attr)
if (attr == "colour" || attr == "color")
{
const unsigned char *colp = m_vertex->getRGBA();
- MT_Vector4 colour(colp[0], colp[1], colp[2], colp[3]);
- colour /= 255.0;
- return PyObjectFrom(colour);
+ MT_Vector4 color(colp[0], colp[1], colp[2], colp[3]);
+ color /= 255.0;
+ return PyObjectFrom(color);
}
if (attr == "normal")