remove unused variables

This commit is contained in:
Dante Ruiz 2018-01-04 13:57:15 -08:00
parent a204685566
commit 597cb6ae9e

View file

@ -355,9 +355,6 @@ void Avatar::relayJointDataToChildren() {
auto modelEntity = std::dynamic_pointer_cast<RenderableModelEntityItem>(child);
if (modelEntity) {
if (modelEntity->getRelayParentJoints()) {
QVector<glm::quat> jointRotations;
QVector<glm::vec3> jointTranslations;
QVector<bool> jointSet;
QStringList modelJointNames = modelEntity->getJointNames();
QStringList avatarJointNames = getJointNames();
foreach (const QString& jointName, modelJointNames) {
@ -373,7 +370,6 @@ void Avatar::relayJointDataToChildren() {
jointRotation = getJointRotation(jointIndex);
jointTranslation = getJointTranslation(jointIndex);
}
jointSet.append(true);
int modelJointIndex = modelEntity->getJointIndex(jointName);
modelEntity->setLocalJointRotation(modelJointIndex, jointRotation);
modelEntity->setLocalJointTranslation(modelJointIndex, jointTranslation);