summaryrefslogtreecommitdiff
path: root/indra/llappearance
diff options
context:
space:
mode:
authorNyx Linden <nyx@lindenlab.com>2012-09-12 21:35:25 +0000
committerNyx Linden <nyx@lindenlab.com>2012-09-12 21:35:25 +0000
commitc34329fa4c8cc5adbad15d8e8f00296c71016a02 (patch)
tree7dfd11b90d15c9f2250ad22a1becee0d805e9c5c /indra/llappearance
parentf1d6052e36ed6d817faedf9b32cb9d889395cd88 (diff)
SH-3347 create demo of back end texture baking service
First link of the back-end service with some LLAppearance code.
Diffstat (limited to 'indra/llappearance')
-rw-r--r--indra/llappearance/llavatarappearance.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/indra/llappearance/llavatarappearance.cpp b/indra/llappearance/llavatarappearance.cpp
index 7d37f5f509..ed8ff1e69e 100644
--- a/indra/llappearance/llavatarappearance.cpp
+++ b/indra/llappearance/llavatarappearance.cpp
@@ -1833,5 +1833,18 @@ BOOL LLAvatarAppearance::LLAvatarXmlInfo::parseXmlMorphNodes(LLXmlTreeNode* root
return TRUE;
}
+//virtual
+LLAvatarAppearance::LLMaskedMorph::LLMaskedMorph(LLVisualParam *morph_target, BOOL invert, std::string layer) :
+ mMorphTarget(morph_target),
+ mInvert(invert),
+ mLayer(layer)
+{
+ LLPolyMorphTarget *target = dynamic_cast<LLPolyMorphTarget*>(morph_target);
+ if (target)
+ {
+ target->addPendingMorphMask();
+ }
+}
+