diff --git a/src/osgUtil/CullVisitor.cpp b/src/osgUtil/CullVisitor.cpp index a0a6b2fca..ffc946f06 100644 --- a/src/osgUtil/CullVisitor.cpp +++ b/src/osgUtil/CullVisitor.cpp @@ -161,7 +161,7 @@ float CullVisitor::getDistanceFromEyePoint(const osg::Vec3& pos, bool withLODSca float dist = distance(pos,matrix); if (withLODScale) return dist*getLODScale(); - else return dist*getLODScale(); + else return dist; } void CullVisitor::popProjectionMatrix()