From 8d033f055814ed7c27851fcdfbd343fc41d255a7 Mon Sep 17 00:00:00 2001 From: scrawl Date: Wed, 20 May 2015 03:12:42 +0200 Subject: [PATCH] Fix UpdateRigBounds not being copied properly --- components/sceneutil/riggeometry.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/sceneutil/riggeometry.cpp b/components/sceneutil/riggeometry.cpp index df5f65029..065ee60d9 100644 --- a/components/sceneutil/riggeometry.cpp +++ b/components/sceneutil/riggeometry.cpp @@ -26,6 +26,8 @@ public: { } + META_Object(SceneUtil, UpdateRigBounds) + void update(osg::NodeVisitor* nv, osg::Drawable* drw) { RigGeometry* rig = static_cast(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 {