mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-14 11:55:13 +02:00
remove unused variables
This commit is contained in:
parent
a204685566
commit
597cb6ae9e
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue