Fix UpdateRigBounds not being copied properly

This commit is contained in:
scrawl 2015-05-20 03:12:42 +02:00
parent 72c1f37527
commit 8d033f0558

View file

@ -26,6 +26,8 @@ public:
{ {
} }
META_Object(SceneUtil, UpdateRigBounds)
void update(osg::NodeVisitor* nv, osg::Drawable* drw) void update(osg::NodeVisitor* nv, osg::Drawable* drw)
{ {
RigGeometry* rig = static_cast<RigGeometry*>(drw); RigGeometry* rig = static_cast<RigGeometry*>(drw);
@ -47,7 +49,7 @@ public:
{ {
} }
META_Object(NifOsg, UpdateRigGeometry) META_Object(SceneUtil, UpdateRigGeometry)
virtual bool cull(osg::NodeVisitor* nv, osg::Drawable* drw, osg::State*) const virtual bool cull(osg::NodeVisitor* nv, osg::Drawable* drw, osg::State*) const
{ {