Added computeBound to osg::Switch, which now checks to see if a child is

enabled before computing its bound.
This commit is contained in:
Don BURNS
2004-12-17 20:51:55 +00:00
parent a0ba625cb0
commit 3e96112b82
2 changed files with 57 additions and 0 deletions

View File

@@ -81,6 +81,8 @@ class SG_EXPORT Switch : public Group
virtual ~Switch() {}
virtual bool computeBound() const;
// This is effectively a bit mask.
bool _newChildDefaultValue;
ValueList _values;