Not handling interpolation type should be an error, since it will fail reading the next record if it hasn't read the previous one completely.

actorid
scrawl 11 years ago
parent 94cdc1efd2
commit 254eba350e

@ -200,7 +200,7 @@ struct KeyListT {
}
}
else
nif->file->warn("Unhandled interpolation type: "+Ogre::StringConverter::toString(mInterpolationType));
nif->file->fail("Unhandled interpolation type: "+Ogre::StringConverter::toString(mInterpolationType));
}
};
typedef KeyListT<float,&NIFStream::getFloat> FloatKeyList;

Loading…
Cancel
Save