mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 15:35:23 +00:00
Print unsupported interpolator record names
This commit is contained in:
parent
bb6e008801
commit
087114e55b
@ -899,7 +899,7 @@ namespace NifOsg
|
|||||||
if (!key->mInterpolator.empty() && key->mInterpolator->recType != Nif::RC_NiTransformInterpolator)
|
if (!key->mInterpolator.empty() && key->mInterpolator->recType != Nif::RC_NiTransformInterpolator)
|
||||||
{
|
{
|
||||||
Log(Debug::Error) << "Unsupported interpolator type for NiKeyframeController " << key->recIndex
|
Log(Debug::Error) << "Unsupported interpolator type for NiKeyframeController " << key->recIndex
|
||||||
<< " in " << mFilename;
|
<< " in " << mFilename << ": " << key->mInterpolator->recName;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
osg::ref_ptr<KeyframeController> callback = new KeyframeController(key);
|
osg::ref_ptr<KeyframeController> callback = new KeyframeController(key);
|
||||||
@ -926,7 +926,7 @@ namespace NifOsg
|
|||||||
&& visctrl->mInterpolator->recType != Nif::RC_NiBoolInterpolator)
|
&& visctrl->mInterpolator->recType != Nif::RC_NiBoolInterpolator)
|
||||||
{
|
{
|
||||||
Log(Debug::Error) << "Unsupported interpolator type for NiVisController " << visctrl->recIndex
|
Log(Debug::Error) << "Unsupported interpolator type for NiVisController " << visctrl->recIndex
|
||||||
<< " in " << mFilename;
|
<< " in " << mFilename << ": " << visctrl->mInterpolator->recName;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
osg::ref_ptr<VisController> callback(new VisController(visctrl, Loader::getHiddenNodeMask()));
|
osg::ref_ptr<VisController> callback(new VisController(visctrl, Loader::getHiddenNodeMask()));
|
||||||
@ -942,7 +942,7 @@ namespace NifOsg
|
|||||||
&& rollctrl->mInterpolator->recType != Nif::RC_NiFloatInterpolator)
|
&& rollctrl->mInterpolator->recType != Nif::RC_NiFloatInterpolator)
|
||||||
{
|
{
|
||||||
Log(Debug::Error) << "Unsupported interpolator type for NiRollController " << rollctrl->recIndex
|
Log(Debug::Error) << "Unsupported interpolator type for NiRollController " << rollctrl->recIndex
|
||||||
<< " in " << mFilename;
|
<< " in " << mFilename << ": " << rollctrl->mInterpolator->recName;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
osg::ref_ptr<RollController> callback = new RollController(rollctrl);
|
osg::ref_ptr<RollController> callback = new RollController(rollctrl);
|
||||||
@ -977,8 +977,9 @@ namespace NifOsg
|
|||||||
if (!alphactrl->mInterpolator.empty()
|
if (!alphactrl->mInterpolator.empty()
|
||||||
&& alphactrl->mInterpolator->recType != Nif::RC_NiFloatInterpolator)
|
&& alphactrl->mInterpolator->recType != Nif::RC_NiFloatInterpolator)
|
||||||
{
|
{
|
||||||
Log(Debug::Error) << "Unsupported interpolator type for NiAlphaController "
|
Log(Debug::Error)
|
||||||
<< alphactrl->recIndex << " in " << mFilename;
|
<< "Unsupported interpolator type for NiAlphaController " << alphactrl->recIndex << " in "
|
||||||
|
<< mFilename << ": " << alphactrl->mInterpolator->recName;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
osg::ref_ptr<AlphaController> osgctrl = new AlphaController(alphactrl, baseMaterial);
|
osg::ref_ptr<AlphaController> osgctrl = new AlphaController(alphactrl, baseMaterial);
|
||||||
@ -998,8 +999,9 @@ namespace NifOsg
|
|||||||
if (!matctrl->mInterpolator.empty()
|
if (!matctrl->mInterpolator.empty()
|
||||||
&& matctrl->mInterpolator->recType != Nif::RC_NiPoint3Interpolator)
|
&& matctrl->mInterpolator->recType != Nif::RC_NiPoint3Interpolator)
|
||||||
{
|
{
|
||||||
Log(Debug::Error) << "Unsupported interpolator type for NiMaterialColorController "
|
Log(Debug::Error)
|
||||||
<< matctrl->recIndex << " in " << mFilename;
|
<< "Unsupported interpolator type for NiMaterialColorController " << matctrl->recIndex
|
||||||
|
<< " in " << mFilename << ": " << matctrl->mInterpolator->recName;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
osg::ref_ptr<MaterialColorController> osgctrl = new MaterialColorController(matctrl, baseMaterial);
|
osg::ref_ptr<MaterialColorController> osgctrl = new MaterialColorController(matctrl, baseMaterial);
|
||||||
@ -1025,7 +1027,7 @@ namespace NifOsg
|
|||||||
&& flipctrl->mInterpolator->recType != Nif::RC_NiFloatInterpolator)
|
&& flipctrl->mInterpolator->recType != Nif::RC_NiFloatInterpolator)
|
||||||
{
|
{
|
||||||
Log(Debug::Error) << "Unsupported interpolator type for NiFlipController " << flipctrl->recIndex
|
Log(Debug::Error) << "Unsupported interpolator type for NiFlipController " << flipctrl->recIndex
|
||||||
<< " in " << mFilename;
|
<< " in " << mFilename << ": " << flipctrl->mInterpolator->recName;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
std::vector<osg::ref_ptr<osg::Texture2D>> textures;
|
std::vector<osg::ref_ptr<osg::Texture2D>> textures;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user