diff options
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llpanelface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp index da471b0b62..2aba115e3f 100644 --- a/indra/newview/llpanelface.cpp +++ b/indra/newview/llpanelface.cpp @@ -2988,7 +2988,7 @@ void LLPanelFace::onCopyFaces() // Replace no-copy textures, destination texture will get used instead if available if (mat_data.has("NormMap")) { - LLUUID id = te_data["material"]["NormMap"].asUUID(); + LLUUID id = mat_data["NormMap"].asUUID(); if (id.notNull() && !LLPanelObject::canCopyTexture(id)) { mat_data["NormMap"] = LLUUID(gSavedSettings.getString( "DefaultObjectTexture" )); @@ -2998,7 +2998,7 @@ void LLPanelFace::onCopyFaces() } if (mat_data.has("SpecMap")) { - LLUUID id = te_data["material"]["SpecMap"].asUUID(); + LLUUID id = mat_data["SpecMap"].asUUID(); if (id.notNull() && !LLPanelObject::canCopyTexture(id)) { mat_data["SpecMap"] = LLUUID(gSavedSettings.getString( "DefaultObjectTexture" )); |