#5030, #5035 Fix missing update of intersection boundingboxes.

Regression introduced by 3c3c207bbc
Which removes (mostly) unneccessary recursiveBBox updates when inserting static models in viewer
The commit might expose other bugs as well.
This commit is contained in:
Jacob Støren 2019-11-14 13:59:31 +01:00
parent fe88fb9ccb
commit e82f6a5ab7

View File

@ -32,6 +32,8 @@
#include "RivIntersectionBoxPartMgr.h"
#include "RivIntersectionPartMgr.h"
#include "cvfModelBasicList.h"
CAF_PDM_SOURCE_INIT( RimIntersectionCollection, "CrossSectionCollection" );
//--------------------------------------------------------------------------------------------------
@ -150,6 +152,8 @@ void RimIntersectionCollection::appendPartsToModel( Rim3dView& view,
}
}
}
model->updateBoundingBoxesRecursive();
}
//--------------------------------------------------------------------------------------------------