Fix NifOsg::MatrixTransform constructor inheritance

pull/2962/head
Capostrophic 5 years ago
parent cc791af0f5
commit ad87289d59

@ -2,6 +2,11 @@
namespace NifOsg
{
MatrixTransform::MatrixTransform()
: osg::MatrixTransform()
{
}
MatrixTransform::MatrixTransform(int recordIndex, const Nif::Transformation &trafo)
: osg::MatrixTransform(trafo.toMatrix())
, mIndex(recordIndex)

@ -11,7 +11,7 @@ namespace NifOsg
class MatrixTransform : public osg::MatrixTransform
{
public:
using osg::MatrixTransform::MatrixTransform;
MatrixTransform();
MatrixTransform(int recordIndex, const Nif::Transformation &trafo);
MatrixTransform(const MatrixTransform &copy, const osg::CopyOp &copyop);

Loading…
Cancel
Save