From 2eda495f8940a76c5dbd31052d6b54ccbd3e9b76 Mon Sep 17 00:00:00 2001 From: scrawl Date: Wed, 3 Feb 2016 19:05:15 +0100 Subject: [PATCH] Build fix for OSG 3.2 --- components/nifosg/nifloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/nifosg/nifloader.cpp b/components/nifosg/nifloader.cpp index 280985f7e..79f837953 100644 --- a/components/nifosg/nifloader.cpp +++ b/components/nifosg/nifloader.cpp @@ -1100,7 +1100,7 @@ namespace NifOsg } // For the initial bounding box (used for object placement) use the default pose, fire off a bounding compute to set this initial box - morphGeom->getBoundingBox(); + morphGeom->getBound(); // Now set up the callback so that we get properly enlarged bounds if/when the mesh starts animating morphGeom->setComputeBoundingBoxCallback(new StaticBoundingBoxCallback(box));