1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00

Build fix for OSG 3.2

This commit is contained in:
scrawl 2016-02-03 19:05:15 +01:00
parent 06ed20abf8
commit 2eda495f89

View File

@ -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));