Fix geomech reload issues

This commit is contained in:
Jon Jenssen
2023-01-25 15:41:56 +01:00
committed by jonjenssen
parent 0cdaf5b62e
commit 42a9fef2d3
8 changed files with 58 additions and 42 deletions

View File

@@ -136,7 +136,7 @@ void RivTensorResultPartMgr::appendDynamicGeometryPartsToModel( cvf::ModelBasicL
{
const RivGeoMechPartMgr* partMgr = partMgrCache->partMgr( partKey );
auto mgr = partMgr->femPartMgrs()[partIdx];
auto& mgr = partMgr->femPartMgrs()[partIdx];
{
const RivFemPartGeometryGenerator* surfaceGenerator = mgr->surfaceGenerator();
const std::vector<size_t>& quadVerticesToNodeIdxMapping = surfaceGenerator->quadVerticesToNodeIdxMapping();