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:
authorTon Roosendaal <ton@blender.org>2007-05-20 19:55:49 +0400
committerTon Roosendaal <ton@blender.org>2007-05-20 19:55:49 +0400
commitfbbc038cb6be64ae92fa0edd9eccf8e109a318c4 (patch)
tree552c3c46bea5583158d9605c03f37a2532350b9b /source/gameengine/Rasterizer/RAS_MaterialBucket.cpp
parent8fac5a9aa17baf2d1429242718ec5b6670e920f8 (diff)
Fix provided by Mal:
- 3D Window, textured drawmode shows lighted again for non-textured faces - Engine: faces show lighted again when 3d windows was Solid draw mode Example: http://www.candointeractive.com/blender/BlenderViewport.jpg
Diffstat (limited to 'source/gameengine/Rasterizer/RAS_MaterialBucket.cpp')
-rw-r--r--source/gameengine/Rasterizer/RAS_MaterialBucket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Rasterizer/RAS_MaterialBucket.cpp b/source/gameengine/Rasterizer/RAS_MaterialBucket.cpp
index ef89477c345..689772f51c4 100644
--- a/source/gameengine/Rasterizer/RAS_MaterialBucket.cpp
+++ b/source/gameengine/Rasterizer/RAS_MaterialBucket.cpp
@@ -181,7 +181,7 @@ bool RAS_MaterialBucket::ActivateMaterial(const MT_Transform& cameratrans, RAS_I
else
dolights = (m_material->GetDrawingMode()&16)!=0;
- if ((rasty->GetDrawingMode() <= RAS_IRasterizer::KX_SOLID) || !dolights)
+ if ((rasty->GetDrawingMode() < RAS_IRasterizer::KX_SOLID) || !dolights)
{
rendertools->ProcessLighting(-1);
}