Added initializers
This commit is contained in:
@@ -31,7 +31,7 @@ namespace osgAnimation
|
||||
{
|
||||
public:
|
||||
RigTransformSoftware();
|
||||
RigTransformSoftware(const RigTransformSoftware&,const osg::CopyOp&){};
|
||||
RigTransformSoftware(const RigTransformSoftware& rts,const osg::CopyOp& copyop);
|
||||
|
||||
META_Object(osgAnimation,RigTransformSoftware)
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ RigTransformHardware::RigTransformHardware(const RigTransformHardware& rth, cons
|
||||
_boneWeightAttribArrays(rth._boneWeightAttribArrays),
|
||||
_uniformMatrixPalette(rth._uniformMatrixPalette),
|
||||
_shader(rth._shader),
|
||||
_needInit(false)
|
||||
_needInit(rth._needInit)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,14 @@ RigTransformSoftware::RigTransformSoftware()
|
||||
_needInit = true;
|
||||
}
|
||||
|
||||
RigTransformSoftware::RigTransformSoftware(const RigTransformSoftware& rts,const osg::CopyOp& copyop):
|
||||
RigTransform(rts, copyop),
|
||||
_needInit(rts._needInit),
|
||||
_invalidInfluence(rts._invalidInfluence)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool RigTransformSoftware::init(RigGeometry& geom)
|
||||
{
|
||||
if (!geom.getSkeleton())
|
||||
|
||||
Reference in New Issue
Block a user