mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01: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);
|
||||
for (int i = 0; i < animJointCount; 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);
|
||||
}
|
||||
|
||||
|
|
|
@ -425,7 +425,6 @@ int Rig::indexOfJoint(const QString& jointName) const {
|
|||
|
||||
// This is a content error, so we should issue a warning.
|
||||
if (result < 0 && _jointNameWarningCount < MAX_JOINT_NAME_WARNING_COUNT) {
|
||||
// qCWarning(animation) << "Rig: Missing joint" << jointName << "in avatar model";
|
||||
_jointNameWarningCount++;
|
||||
}
|
||||
return result;
|
||||
|
|
Loading…
Reference in a new issue