Integrated Geoff Michel's updates to Stats code, whilest move all text rendering
back in the viewer from the Statistics header. Added a osg::State::captureCurrentState(StateSet&) method and a copy constructor to osg::StateSet.
This commit is contained in:
@@ -21,6 +21,17 @@ StateSet::StateSet()
|
||||
setRendingBinToInherit();
|
||||
}
|
||||
|
||||
StateSet::StateSet(const StateSet& rhs):Object()
|
||||
{
|
||||
_modeList = rhs._modeList;
|
||||
_attributeList = rhs._attributeList;
|
||||
|
||||
_renderingHint = rhs._renderingHint;
|
||||
|
||||
_binMode = rhs._binMode;
|
||||
_binNum = rhs._binNum;
|
||||
_binName = rhs._binName;
|
||||
}
|
||||
|
||||
StateSet::~StateSet()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user