Changed the Geometry::setVertexArray and GeoSet::setCoords so that they

call dirtyBound() instead of reseting the local bound flag, this ensures
the updates are propagated upwards through into the parents.
This commit is contained in:
Robert Osfield
2002-08-08 11:27:11 +00:00
parent f5c7fcf51d
commit d9b7b13bd3
2 changed files with 5 additions and 5 deletions

View File

@@ -38,7 +38,7 @@ class SG_EXPORT Geometry : public Drawable
BIND_PER_VERTEX
};
void setVertexArray(Vec3Array* array) { _vertexArray = array; dirtyDisplayList(); }
void setVertexArray(Vec3Array* array) { _vertexArray = array; dirtyDisplayList(); dirtyBound(); }
Vec3Array* getVertexArray() { return _vertexArray.get(); }
const Vec3Array* getVertexArray() const { return _vertexArray.get(); }