added call to copy constructor for virtual base classes in copy constructor of derived classes, removed these for abstract classes
This commit is contained in:
@@ -41,7 +41,8 @@ namespace osgAnimation
|
||||
{
|
||||
public:
|
||||
Callback(){}
|
||||
Callback(const Callback& nc,const osg::CopyOp&) :
|
||||
Callback(const Callback& nc,const osg::CopyOp& copyop) :
|
||||
osg::Object(nc, copyop),
|
||||
_nestedCallback(nc._nestedCallback) {}
|
||||
|
||||
META_Object(osgAnimation,Callback);
|
||||
|
||||
@@ -182,7 +182,10 @@ namespace osgAnimation
|
||||
{
|
||||
UpdateMorphGeometry() {}
|
||||
|
||||
UpdateMorphGeometry(const UpdateMorphGeometry&, const osg::CopyOp&) {}
|
||||
UpdateMorphGeometry(const UpdateMorphGeometry& org, const osg::CopyOp& copyop):
|
||||
osg::Object(org, copyop),
|
||||
osg::Callback(org, copyop),
|
||||
osg::DrawableUpdateCallback(org, copyop) {}
|
||||
|
||||
META_Object(osgAnimation, UpdateMorphGeometry);
|
||||
|
||||
|
||||
@@ -128,7 +128,10 @@ namespace osgAnimation
|
||||
{
|
||||
UpdateRigGeometry() {}
|
||||
|
||||
UpdateRigGeometry(const UpdateRigGeometry&, const osg::CopyOp&) {}
|
||||
UpdateRigGeometry(const UpdateRigGeometry& org, const osg::CopyOp& copyop):
|
||||
osg::Object(org, copyop),
|
||||
osg::Callback(org, copyop),
|
||||
osg::DrawableUpdateCallback(org, copyop) {}
|
||||
|
||||
META_Object(osgAnimation, UpdateRigGeometry);
|
||||
|
||||
|
||||
@@ -26,7 +26,8 @@ namespace osgAnimation
|
||||
{
|
||||
public:
|
||||
RigTransform() {}
|
||||
RigTransform(const RigTransform&, const osg::CopyOp&) {}
|
||||
RigTransform(const RigTransform& org, const osg::CopyOp& copyop):
|
||||
osg::Object(org, copyop) {}
|
||||
|
||||
META_Object(osgAnimation,RigTransform)
|
||||
|
||||
|
||||
@@ -44,7 +44,10 @@ namespace osgAnimation
|
||||
META_Object(osgAnimation, VertexInfluenceMap);
|
||||
|
||||
VertexInfluenceMap() {}
|
||||
VertexInfluenceMap(const osgAnimation::VertexInfluenceMap&, const osg::CopyOp&) {}
|
||||
VertexInfluenceMap(const osgAnimation::VertexInfluenceMap& org, const osg::CopyOp& copyop):
|
||||
std::map<std::string, VertexInfluence>(org),
|
||||
osg::Object(org, copyop)
|
||||
{}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user