removed eye joint debug statements

This commit is contained in:
amantley 2018-12-17 15:30:49 -08:00
parent f6d34ed54c
commit 893e9649be
2 changed files with 1 additions and 5 deletions

View file

@ -603,7 +603,6 @@ HFMModel* FBXSerializer::extractHFMModel(const QVariantHash& mapping, const QStr
} }
if (name == jointEyeLeftName || name == "EyeL" || name == "joint_Leye" || (hfmModel.hfmToHifiJointNameMapping.contains(jointEyeLeftName) && (name == hfmModel.hfmToHifiJointNameMapping[jointEyeLeftName]))) { if (name == jointEyeLeftName || name == "EyeL" || name == "joint_Leye" || (hfmModel.hfmToHifiJointNameMapping.contains(jointEyeLeftName) && (name == hfmModel.hfmToHifiJointNameMapping[jointEyeLeftName]))) {
qDebug(modelformat) << "made it to left eye get id " << name << " " << jointEyeLeftName;
jointEyeLeftID = getID(object.properties); jointEyeLeftID = getID(object.properties);
} else if (name == jointEyeRightName || name == "EyeR" || name == "joint_Reye" || (hfmModel.hfmToHifiJointNameMapping.contains(jointEyeRightName) && (name == hfmModel.hfmToHifiJointNameMapping[jointEyeRightName]))) { } else if (name == jointEyeRightName || name == "EyeR" || name == "joint_Reye" || (hfmModel.hfmToHifiJointNameMapping.contains(jointEyeRightName) && (name == hfmModel.hfmToHifiJointNameMapping[jointEyeRightName]))) {
@ -1452,14 +1451,11 @@ HFMModel* FBXSerializer::extractHFMModel(const QVariantHash& mapping, const QStr
// find our special joints // find our special joints
hfmModel.leftEyeJointIndex = modelIDs.indexOf(jointEyeLeftID); hfmModel.leftEyeJointIndex = modelIDs.indexOf(jointEyeLeftID);
qDebug(modelformat) << "jointlefteye" << hfmModel.leftEyeJointIndex << " " << jointEyeLeftID;
hfmModel.rightEyeJointIndex = modelIDs.indexOf(jointEyeRightID); hfmModel.rightEyeJointIndex = modelIDs.indexOf(jointEyeRightID);
qDebug(modelformat) << "jointrighteye" << hfmModel.rightEyeJointIndex << " " << jointEyeRightID;
hfmModel.neckJointIndex = modelIDs.indexOf(jointNeckID); hfmModel.neckJointIndex = modelIDs.indexOf(jointNeckID);
hfmModel.rootJointIndex = modelIDs.indexOf(jointRootID); hfmModel.rootJointIndex = modelIDs.indexOf(jointRootID);
hfmModel.leanJointIndex = modelIDs.indexOf(jointLeanID); hfmModel.leanJointIndex = modelIDs.indexOf(jointLeanID);
hfmModel.headJointIndex = modelIDs.indexOf(jointHeadID); hfmModel.headJointIndex = modelIDs.indexOf(jointHeadID);
qDebug(modelformat) << "head joint" << hfmModel.headJointIndex;
hfmModel.leftHandJointIndex = modelIDs.indexOf(jointLeftHandID); hfmModel.leftHandJointIndex = modelIDs.indexOf(jointLeftHandID);
hfmModel.rightHandJointIndex = modelIDs.indexOf(jointRightHandID); hfmModel.rightHandJointIndex = modelIDs.indexOf(jointRightHandID);
hfmModel.leftToeJointIndex = modelIDs.indexOf(jointLeftToeID); hfmModel.leftToeJointIndex = modelIDs.indexOf(jointLeftToeID);

View file

@ -268,7 +268,7 @@ void handleOpenVrEvents() {
_keyboardShown = false; _keyboardShown = false;
DependencyManager::get<OffscreenUi>()->unfocusWindows(); DependencyManager::get<OffscreenUi>()->unfocusWindows();
break; break;
case vr::VREvent_TrackedDeviceUserInteractionStarted: case vr::VREvent_TrackedDeviceUserInteractionStarted:
qDebug() << "Put on the headset"; qDebug() << "Put on the headset";
//hmdMountedChanged(); //hmdMountedChanged();