Fixed warnings
This commit is contained in:
@@ -38,7 +38,9 @@ class ObjectRecordData : public osg::Object
|
||||
|
||||
_significance( 0 )
|
||||
{}
|
||||
ObjectRecordData( const ObjectRecordData& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY )
|
||||
|
||||
ObjectRecordData( const ObjectRecordData& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY ):
|
||||
osg::Object(copy, copyop)
|
||||
{
|
||||
_flags = copy._flags;
|
||||
_relativePriority = copy._relativePriority;
|
||||
|
||||
@@ -84,7 +84,7 @@ class OSGSIM_EXPORT OverlayNode : public osg::Group
|
||||
double getOverlayBaseHeight() const { return _overlayBaseHeight; }
|
||||
|
||||
/** Set the clear color to use when rendering the overlay subgraph.*/
|
||||
void setOverlayClearColor(const osg::Vec4& color) { _overlayClearColor = _overlayClearColor; }
|
||||
void setOverlayClearColor(const osg::Vec4& color) { _overlayClearColor = color; }
|
||||
|
||||
/** Get the clear color to use when rendering the overlay subgraph.*/
|
||||
const osg::Vec4& getOverlayClearColor() const { return _overlayClearColor; }
|
||||
|
||||
Reference in New Issue
Block a user