Read BSShaderTextureSet and NiColorInterpolator

Accept boolean-based and 4D vector-based NiInterpolators in ValueInterpolator constructor
This commit is contained in:
Alexei Dobrohotov 2020-12-13 02:35:57 +03:00
parent 2373f07168
commit 1c83e4936d
8 changed files with 52 additions and 2 deletions

View file

@ -325,4 +325,15 @@ namespace Nif
data.post(nif);
}
void NiColorInterpolator::read(NIFStream *nif)
{
defaultVal = nif->getVector4();
data.read(nif);
}
void NiColorInterpolator::post(NIFFile *nif)
{
data.post(nif);
}
}