Skip to content

Commit cbd7130

Browse files
committed
viewer#2889 Fix water's normal map being ignored
1 parent 8dfc1d0 commit cbd7130

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

indra/llinventory/llsettingswater.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ void LLSettingsWater::loadValuesFromLLSD()
133133
mWave1Dir = LLVector2(settings[SETTING_WAVE1_DIR]);
134134
mWave2Dir = LLVector2(settings[SETTING_WAVE2_DIR]);
135135

136-
mNormalMapID = getNormalMapID();
137-
mTransparentTextureID = getTransparentTextureID();
136+
mNormalMapID = settings[SETTING_NORMAL_MAP].asUUID();
137+
mTransparentTextureID = settings[SETTING_TRANSPARENT_TEXTURE].asUUID();
138138
}
139139

140140
void LLSettingsWater::saveValuesToLLSD()

0 commit comments

Comments
 (0)