summaryrefslogtreecommitdiff
path: root/indra/newview/lltexglobalcolor.cpp
diff options
context:
space:
mode:
authorNyx (Neal Orman) <nyx@lindenlab.com>2009-11-11 16:37:59 -0500
committerNyx (Neal Orman) <nyx@lindenlab.com>2009-11-11 16:37:59 -0500
commitf6406b7174fc6751ee60a6263360d82f382c6175 (patch)
treee468d6f7572cda96127c38099e2c6188b6c8d586 /indra/newview/lltexglobalcolor.cpp
parentb7740ee0c540c884170ffacf88132af3f93a3f96 (diff)
EXT-2173 use of visual param animation inconsistent at best
removed ambiguous parameter "set_by_user" from many places in codebase, renaming it to be upload_bake, which is a more accurate descriptor. This allowed me to see several inconsistencies in how this variable was being set - these errors were also fixed. User-visible result should be that baked textures are not reuploaded on changing avatar sex until the save button is pressed. primary win here is code clarity. Code reviewed by Bigpapi.
Diffstat (limited to 'indra/newview/lltexglobalcolor.cpp')
-rw-r--r--indra/newview/lltexglobalcolor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/lltexglobalcolor.cpp b/indra/newview/lltexglobalcolor.cpp
index 595b24ad47..d7840fb435 100644
--- a/indra/newview/lltexglobalcolor.cpp
+++ b/indra/newview/lltexglobalcolor.cpp
@@ -108,9 +108,9 @@ LLTexParamGlobalColor::LLTexParamGlobalColor(LLTexGlobalColor* tex_global_color)
return new_param;
}
-void LLTexParamGlobalColor::onGlobalColorChanged(bool set_by_user)
+void LLTexParamGlobalColor::onGlobalColorChanged(bool upload_bake)
{
- mAvatar->onGlobalColorChanged(mTexGlobalColor, set_by_user);
+ mAvatar->onGlobalColorChanged(mTexGlobalColor, upload_bake);
}
//-----------------------------------------------------------------------------