Tweaked MultiSwitch IO

This commit is contained in:
Robert Osfield
2003-11-25 16:07:32 +00:00
parent 72ba462251
commit 953bbd85e8
2 changed files with 13 additions and 1 deletions

View File

@@ -66,7 +66,7 @@ class SG_EXPORT MultiSwitch : public osg::Group
void setActiveSwitchSet(unsigned int switchSet) { _activeSwitchSet = switchSet; }
/** Get which of the available switch set lists to use.*/
unsigned int getActiveSwitchSet(unsigned int switchSet) { return _activeSwitchSet; }
unsigned int getActiveSwitchSet() const { return _activeSwitchSet; }
typedef std::vector<bool> ValueList;
typedef std::vector<ValueList> SwitchSetList;