Added computeBound to osg::Switch, which now checks to see if a child is
enabled before computing its bound.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user