Merge pull request #3055 from akortunov/keyinit

Init animation key struct before usage
This commit is contained in:
Bret Curtis 2021-03-18 12:28:10 +01:00 committed by GitHub
commit 68c1adec0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,7 @@ struct KeyMapT {
mInterpolationType = nif->getUInt(); mInterpolationType = nif->getUInt();
KeyT<T> key; KeyType key = {};
NIFStream &nifReference = *nif; NIFStream &nifReference = *nif;
if (mInterpolationType == InterpolationType_Linear if (mInterpolationType == InterpolationType_Linear