This commit is contained in:
Seth Alves 2015-10-15 14:52:38 -07:00
parent 36a523478f
commit 487131dde1
2 changed files with 5 additions and 7 deletions

View file

@ -174,8 +174,6 @@ public:
void setMotionState(AvatarMotionState* motionState) { _motionState = motionState; } void setMotionState(AvatarMotionState* motionState) { _motionState = motionState; }
AvatarMotionState* getMotionState() { return _motionState; } AvatarMotionState* getMotionState() { return _motionState; }
virtual RigPointer getRig() const { return _skeletonModel.getRig(); }
public slots: public slots:
glm::vec3 getLeftPalmPosition(); glm::vec3 getLeftPalmPosition();
glm::vec3 getLeftPalmVelocity(); glm::vec3 getLeftPalmVelocity();

View file

@ -121,11 +121,11 @@ bool AvatarActionHold::updateArguments(QVariantMap arguments) {
holderID = myAvatar->getSessionUUID(); holderID = myAvatar->getSessionUUID();
if (somethingChanged || if (somethingChanged ||
relativePosition != _relativePosition relativePosition != _relativePosition ||
|| relativeRotation != _relativeRotation relativeRotation != _relativeRotation ||
|| timeScale != _linearTimeScale timeScale != _linearTimeScale ||
|| hand != _hand hand != _hand ||
|| holderID != _holderID) { holderID != _holderID) {
needUpdate = true; needUpdate = true;
} }
}); });