From 3d853fcbc66dd5993b29a80cdb109f8947279e81 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 1 Jun 2007 19:01:23 +0000 Subject: [PATCH] Removed the debug message for the ortho path. --- src/osgSim/OverlayNode.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/osgSim/OverlayNode.cpp b/src/osgSim/OverlayNode.cpp index 1b9070cee..b37b6706c 100644 --- a/src/osgSim/OverlayNode.cpp +++ b/src/osgSim/OverlayNode.cpp @@ -1451,12 +1451,14 @@ void OverlayNode::traverse_VIEW_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY(osg::NodeVis double mid_side = (min_side + max_side) * 0.5; double ratio = min_distanceEye / max_distanceEye; - bool usePerspectiveShaders = ratio<0.95; + bool usePerspectiveShaders = (_overlayTechnique==VIEW_DEPENDENT_WITH_PERSPECTIVE_OVERLAY) && + (ratio<0.95); - osg::notify(osg::NOTICE)<<"ratio = "<