diff options
Diffstat (limited to 'linden/indra')
-rw-r--r-- | linden/indra/newview/lldrawpoolbump.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/newview/lldrawpoolbump.cpp b/linden/indra/newview/lldrawpoolbump.cpp index ff464f7..fb7a213 100644 --- a/linden/indra/newview/lldrawpoolbump.cpp +++ b/linden/indra/newview/lldrawpoolbump.cpp | |||
@@ -583,6 +583,11 @@ BOOL LLDrawPoolBump::bindBumpMap(LLDrawInfo& params, S32 channel) | |||
583 | case BE_DARKNESS: | 583 | case BE_DARKNESS: |
584 | if( tex ) | 584 | if( tex ) |
585 | { | 585 | { |
586 | if(tex->getID()== IMG_DEFAULT) | ||
587 | { | ||
588 | return TRUE; | ||
589 | } | ||
590 | |||
586 | bump = gBumpImageList.getBrightnessDarknessImage( tex, bump_code ); | 591 | bump = gBumpImageList.getBrightnessDarknessImage( tex, bump_code ); |
587 | } | 592 | } |
588 | break; | 593 | break; |