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>2012-01-16 09:27:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-01-16 09:27:11 +0400
commitfb4ad50cee70931ca390bb82a63c394ffef4d624 (patch)
tree4de5f04294f8a01bf90b1a8b40c0a3c6f0a87110 /source/gameengine/Rasterizer/RAS_TexVert.cpp
parentdc8b2197266899bd82bc0b625fd7aba0d8efe252 (diff)
use defines for property name lenghths in the BGE, were using 31,32,64,100.
Diffstat (limited to 'source/gameengine/Rasterizer/RAS_TexVert.cpp')
-rw-r--r--source/gameengine/Rasterizer/RAS_TexVert.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Rasterizer/RAS_TexVert.cpp b/source/gameengine/Rasterizer/RAS_TexVert.cpp
index 18a987a332a..1e8630c72d8 100644
--- a/source/gameengine/Rasterizer/RAS_TexVert.cpp
+++ b/source/gameengine/Rasterizer/RAS_TexVert.cpp
@@ -104,7 +104,7 @@ void RAS_TexVert::SetFlag(const short flag)
void RAS_TexVert::SetUnit(const unsigned int u)
{
- m_unit = u<=MAX_UNIT?u:MAX_UNIT;
+ m_unit = u <= (unsigned int) MAX_UNIT ? u: (unsigned int)MAX_UNIT;
}
void RAS_TexVert::SetNormal(const MT_Vector3& normal)