diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/lldrawpoolbump.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/linden/indra/newview/lldrawpoolbump.cpp b/linden/indra/newview/lldrawpoolbump.cpp index 0bfb737..2345406 100644 --- a/linden/indra/newview/lldrawpoolbump.cpp +++ b/linden/indra/newview/lldrawpoolbump.cpp | |||
@@ -141,7 +141,12 @@ void LLStandardBumpmap::restoreGL() | |||
141 | 141 | ||
142 | // llinfos << "Loading bumpmap: " << bump_file << " from viewerart" << llendl; | 142 | // llinfos << "Loading bumpmap: " << bump_file << " from viewerart" << llendl; |
143 | gStandardBumpmapList[LLStandardBumpmap::sStandardBumpmapCount].mLabel = label; | 143 | gStandardBumpmapList[LLStandardBumpmap::sStandardBumpmapCount].mLabel = label; |
144 | gStandardBumpmapList[LLStandardBumpmap::sStandardBumpmapCount].mImage = gImageList.getImage( LLUUID(gViewerArt.getString(bump_file)) ); | 144 | gStandardBumpmapList[LLStandardBumpmap::sStandardBumpmapCount].mImage = |
145 | gImageList.getImageFromFile(bump_file, | ||
146 | TRUE, | ||
147 | FALSE, | ||
148 | 0, | ||
149 | 0); | ||
145 | LLStandardBumpmap::sStandardBumpmapCount++; | 150 | LLStandardBumpmap::sStandardBumpmapCount++; |
146 | } | 151 | } |
147 | 152 | ||