diff --git a/src/osgVolume/VolumeScene.cpp b/src/osgVolume/VolumeScene.cpp index 7226b2315..56bd29c45 100644 --- a/src/osgVolume/VolumeScene.cpp +++ b/src/osgVolume/VolumeScene.cpp @@ -19,6 +19,7 @@ #include #include #include +#include using namespace osgVolume; @@ -302,8 +303,9 @@ void VolumeScene::traverse(osg::NodeVisitor& nv) //OSG_NOTICE<<"tileVisited()"<_tiles.size()<::max(); + NearFarValueType calculatedFarPlane = -std::numeric_limits::max(); if (viewData->_rttCamera->getUserValue("CalculatedNearPlane",calculatedNearPlane) && viewData->_rttCamera->getUserValue("CalculatedFarPlane",calculatedFarPlane)) {