summaryrefslogtreecommitdiff
path: root/indra/llcharacter/llkeyframemotion.h
diff options
context:
space:
mode:
authorDave Houlton <euclid@lindenlab.com>2022-04-18 15:35:23 -0600
committerDave Houlton <euclid@lindenlab.com>2022-04-18 15:35:23 -0600
commit035b1996df3f357b5060e3eb778588da5b9e7b37 (patch)
tree270e46eb85dd46fb6962a36a9357dbf31c3afb29 /indra/llcharacter/llkeyframemotion.h
parent2d63d2044e0a00d1969c3da254e016a6e520c0d5 (diff)
parentd031662435d97101411ae990ed85d6e001ab668a (diff)
Merge branch 'master' into DRTVWR-528
Diffstat (limited to 'indra/llcharacter/llkeyframemotion.h')
-rw-r--r--indra/llcharacter/llkeyframemotion.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/llcharacter/llkeyframemotion.h b/indra/llcharacter/llkeyframemotion.h
index d640556090..9a927ede9a 100644
--- a/indra/llcharacter/llkeyframemotion.h
+++ b/indra/llcharacter/llkeyframemotion.h
@@ -115,6 +115,15 @@ public:
else return LLJoint::LOW_PRIORITY;
}
+ virtual S32 getNumJointMotions()
+ {
+ if (mJointMotionList)
+ {
+ return mJointMotionList->getNumJointMotions();
+ }
+ return 0;
+ }
+
virtual LLMotionBlendType getBlendType() { return NORMAL_BLEND; }
// called to determine when a motion should be activated/deactivated based on avatar pixel coverage