Removed tab, variable fix.

This commit is contained in:
Andrzej Kapolka 2014-02-18 18:49:34 -08:00
parent c4e643e3a4
commit a89983a1c0

View file

@ -21,7 +21,7 @@ namespace VisageSDK {
#ifdef WIN32 #ifdef WIN32
void __declspec(dllimport) initializeLicenseManager(char* licenseKeyFileName); void __declspec(dllimport) initializeLicenseManager(char* licenseKeyFileName);
#else #else
void initializeLicenseManager(char* licenseKeyFileName); void initializeLicenseManager(char* licenseKeyFileName);
#endif #endif
} }
@ -136,7 +136,7 @@ void Visage::update() {
} else if (name == "au_right_inner_brow_raiser") { } else if (name == "au_right_inner_brow_raiser") {
_rightInnerBrowIndex = i; _rightInnerBrowIndex = i;
} }
int index = getBlendshapeIndices().value(_data->actionUnitsNames[i]) - 1; int index = getBlendshapeIndices().value(name) - 1;
maxIndex = qMax(maxIndex, _blendshapeIndices[i] = index); maxIndex = qMax(maxIndex, _blendshapeIndices[i] = index);
} }
_blendshapeCoefficients.resize(maxIndex + 1); _blendshapeCoefficients.resize(maxIndex + 1);