Updated version numbers for release
This commit is contained in:
parent
3f7ffb088e
commit
211abb16dc
@ -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})
|
||||
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user