only print blendshape names in verbose mode

This commit is contained in:
Artem Titoulenko 2018-09-11 12:04:49 -04:00
parent becee49c34
commit ad61627e88
1 changed files with 4 additions and 1 deletions

View File

@ -653,7 +653,10 @@ private:
std::vector<TargetShape> targetShapes;
const double *fullWeights = fbxChannel->GetTargetShapeFullWeights();
std::string name = std::string(fbxChannel->GetName());
fmt::printf("extractChannels; channel name: %s\n", name);
if (verboseOutput) {
fmt::printf("\rblendshape channel: %s\n", name);
}
for (int targetIx = 0; targetIx < fbxChannel->GetTargetShapeCount(); targetIx ++) {
FbxShape *fbxShape = fbxChannel->GetTargetShape(targetIx);