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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user