Updated version numbers for release

This commit is contained in:
Robert Osfield 2007-06-06 21:43:38 +00:00
parent 3f7ffb088e
commit 211abb16dc
3 changed files with 5 additions and 4 deletions

View File

@ -16,8 +16,8 @@ PROJECT(OpenSceneGraph)
SET(OPENSCENEGRAPH_MAJOR_VERSION 1)
SET(OPENSCENEGRAPH_MINOR_VERSION 9)
SET(OPENSCENEGRAPH_PATCH_VERSION 7)
SET(OPENSCENEGRAPH_SOVERSION 9)
SET(OPENSCENEGRAPH_PATCH_VERSION 8)
SET(OPENSCENEGRAPH_SOVERSION 10)
SET(OPENSCENEGRAPH_VERSION ${OPENSCENEGRAPH_MAJOR_VERSION}.${OPENSCENEGRAPH_MINOR_VERSION}.${OPENSCENEGRAPH_PATCH_VERSION})

View File

@ -20,7 +20,7 @@ extern "C" {
#define OSG_VERSION_MAJOR 1
#define OSG_VERSION_MINOR 9
#define OSG_VERSION_PATCH 7
#define OSG_VERSION_PATCH 8
#define OSG_VERSION_RELEASE OSG_VERSION_PATCH
#define OSG_VERSION_REVISION 0

View File

@ -1459,7 +1459,8 @@ void OverlayNode::traverse_VIEW_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY(osg::NodeVis
{
osg::notify(osg::NOTICE)<<"ratio = "<<ratio<<std::endl;
if (ratio<0.2) ratio = 0.2;
double minRatio = 0.01;
if (ratio<minRatio) ratio = minRatio;
double base_up = min_up - (max_up - min_up) * ratio / (1.0 - ratio);
double max_side_over_up = 0.0;