FIxed error on ubuntu

This commit is contained in:
barnold1953 2014-07-24 10:32:34 -07:00
parent 3d3b4572e3
commit 9ac8b732f0

View file

@ -65,7 +65,7 @@ void HeadData::setBlendshape(QString name, float val) {
}
//Check to see if the named blendshape exists, and then set its value if it does
auto it = blendshapeLookupMap.find(name);
QMap<QString, int>::iterator it = blendshapeLookupMap.find(name);
if (it != blendshapeLookupMap.end()) {
if (_blendshapeCoefficients.size() <= it.value()) {
_blendshapeCoefficients.resize(it.value() + 1);