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>2008-06-15 13:43:24 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-06-15 13:43:24 +0400
commitf63b70635c91062a8ef71b2a1f82ac8d4bb06372 (patch)
treedbdabe007b3f7b56be9437f13f3a84aa99bd02e4 /source/gameengine/Ketsji/KX_BlenderMaterial.cpp
parentc76bce9e6407aa9adda3bd1b1d66fe3b8d88299f (diff)
bugfix, clip alpha wasn't working in the GE, not happy with these functions, they probably need bigger changes not to assume all alpha requires face sorting with a disabled depth buffer,
Diffstat (limited to 'source/gameengine/Ketsji/KX_BlenderMaterial.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_BlenderMaterial.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_BlenderMaterial.cpp b/source/gameengine/Ketsji/KX_BlenderMaterial.cpp
index 5efe1ad26ca..cc978760da7 100644
--- a/source/gameengine/Ketsji/KX_BlenderMaterial.cpp
+++ b/source/gameengine/Ketsji/KX_BlenderMaterial.cpp
@@ -493,7 +493,7 @@ bool KX_BlenderMaterial::setDefaultBlending()
glDisable(GL_BLEND);
glEnable ( GL_ALPHA_TEST );
glAlphaFunc(GL_GREATER, 0.5f);
- return true;
+ return false;
}
return false;
}