From Bryan Thrall, added copying of boundingbox callback to copy constructor.

This commit is contained in:
Robert Osfield
2007-07-27 17:14:51 +00:00
parent 3d9d666b02
commit 5faeead2c6

View File

@@ -269,6 +269,7 @@ Drawable::Drawable(const Drawable& drawable,const CopyOp& copyop):
_parents(), // leave empty as parentList is managed by Geode
_stateset(copyop(drawable._stateset.get())),
_initialBound(drawable._initialBound),
_computeBoundCallback(drawable._computeBoundCallback),
_boundingBox(drawable._boundingBox),
_boundingBoxComputed(drawable._boundingBoxComputed),
_shape(copyop(drawable._shape.get())),