From Laurens Voerman, "I hit a bug when making a copy of a PagedLOD node, the copy has lost

it's _databasePath and can no longer load it's childen. " 

Added _databasePath(plod._databasePath), in the copy copy construcutor.
This commit is contained in:
Robert Osfield 2007-09-03 09:56:30 +00:00
parent d730559ade
commit 027158b441

View File

@ -50,6 +50,7 @@ PagedLOD::PagedLOD()
PagedLOD::PagedLOD(const PagedLOD& plod,const CopyOp& copyop): PagedLOD::PagedLOD(const PagedLOD& plod,const CopyOp& copyop):
LOD(plod,copyop), LOD(plod,copyop),
_databasePath(plod._databasePath),
_frameNumberOfLastTraversal(plod._frameNumberOfLastTraversal), _frameNumberOfLastTraversal(plod._frameNumberOfLastTraversal),
_numChildrenThatCannotBeExpired(plod._numChildrenThatCannotBeExpired), _numChildrenThatCannotBeExpired(plod._numChildrenThatCannotBeExpired),
_perRangeDataList(plod._perRangeDataList) _perRangeDataList(plod._perRangeDataList)