Fix geomech reload issues

This commit is contained in:
Jon Jenssen
2023-01-25 15:41:56 +01:00
committed by Magne Sjaastad
parent 38897249a6
commit c70ad2f9a8
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();