mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-18 22:20:53 +00:00
Modernize NiKeyframeData
This commit is contained in:
parent
cfd37dbcc6
commit
50a5d53b41
@ -509,7 +509,7 @@ namespace Nif
|
||||
if (mRotations->mInterpolationType == InterpolationType_XYZ)
|
||||
{
|
||||
if (nif->getVersion() <= NIFStream::generateVersion(10, 1, 0, 0))
|
||||
mAxisOrder = static_cast<AxisOrder>(nif->getInt());
|
||||
mAxisOrder = static_cast<AxisOrder>(nif->get<uint32_t>());
|
||||
mXRotations = std::make_shared<FloatKeyMap>();
|
||||
mYRotations = std::make_shared<FloatKeyMap>();
|
||||
mZRotations = std::make_shared<FloatKeyMap>();
|
||||
|
@ -327,7 +327,7 @@ namespace Nif
|
||||
Vector3KeyMapPtr mTranslations;
|
||||
FloatKeyMapPtr mScales;
|
||||
|
||||
enum class AxisOrder
|
||||
enum class AxisOrder : uint32_t
|
||||
{
|
||||
Order_XYZ = 0,
|
||||
Order_XZY = 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user