mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 03:48:38 +02:00
remove commented-out code
This commit is contained in:
parent
6ca9ab6fba
commit
b71f4e0204
2 changed files with 0 additions and 4 deletions
|
@ -109,9 +109,6 @@ void AnimClip::copyFromNetworkAnim() {
|
||||||
jointMap.reserve(animJointCount);
|
jointMap.reserve(animJointCount);
|
||||||
for (int i = 0; i < animJointCount; i++) {
|
for (int i = 0; i < animJointCount; i++) {
|
||||||
int skeletonJoint = _skeleton->nameToJointIndex(animSkeleton.getJointName(i));
|
int skeletonJoint = _skeleton->nameToJointIndex(animSkeleton.getJointName(i));
|
||||||
// if (skeletonJoint == -1) {
|
|
||||||
// qCWarning(animation) << "animation contains joint =" << animSkeleton.getJointName(i) << " which is not in the skeleton";
|
|
||||||
// }
|
|
||||||
jointMap.push_back(skeletonJoint);
|
jointMap.push_back(skeletonJoint);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -425,7 +425,6 @@ int Rig::indexOfJoint(const QString& jointName) const {
|
||||||
|
|
||||||
// This is a content error, so we should issue a warning.
|
// This is a content error, so we should issue a warning.
|
||||||
if (result < 0 && _jointNameWarningCount < MAX_JOINT_NAME_WARNING_COUNT) {
|
if (result < 0 && _jointNameWarningCount < MAX_JOINT_NAME_WARNING_COUNT) {
|
||||||
// qCWarning(animation) << "Rig: Missing joint" << jointName << "in avatar model";
|
|
||||||
_jointNameWarningCount++;
|
_jointNameWarningCount++;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in a new issue