Rename member variable in RivWellPathsPartManager to get rid of spelling error.

This commit is contained in:
Gaute Lindkvist 2018-04-18 09:49:47 +02:00
parent 53cf8a80cd
commit 3303350193
2 changed files with 7 additions and 7 deletions

View File

@ -52,7 +52,7 @@ void RivWellPathsPartMgr::appendStaticGeometryPartsToModel(cvf::ModelBasicList*
createPartManagersIfRequired();
for (auto& partMgr : m_wellPatshsPartMgrs)
for (auto& partMgr : m_wellPathsPartMgrs)
{
partMgr->appendStaticGeometryPartsToModel(model, displayCoordTransform, characteristicCellSize, wellPathClipBoundingBox);
}
@ -67,7 +67,7 @@ void RivWellPathsPartMgr::appendStaticFracturePartsToModel(cvf::ModelBasicList*
createPartManagersIfRequired();
for (auto& partMgr : m_wellPatshsPartMgrs)
for (auto& partMgr : m_wellPathsPartMgrs)
{
partMgr->appendStaticFracturePartsToModel(model);
}
@ -86,7 +86,7 @@ void RivWellPathsPartMgr::appendDynamicGeometryPartsToModel(cvf::ModelBasicList*
createPartManagersIfRequired();
for (auto& partMgr : m_wellPatshsPartMgrs)
for (auto& partMgr : m_wellPathsPartMgrs)
{
partMgr->appendDynamicGeometryPartsToModel(
model, timeStepIndex, displayCoordTransform, characteristicCellSize, wellPathClipBoundingBox);
@ -98,7 +98,7 @@ void RivWellPathsPartMgr::appendDynamicGeometryPartsToModel(cvf::ModelBasicList*
//--------------------------------------------------------------------------------------------------
void RivWellPathsPartMgr::clearGeometryCache()
{
m_wellPatshsPartMgrs.clear();
m_wellPathsPartMgrs.clear();
m_mapFromViewToIndex.clear();
}
@ -115,14 +115,14 @@ void RivWellPathsPartMgr::createPartManagersIfRequired()
RimProject* proj = RiaApplication::instance()->project();
auto wellPaths = proj->allWellPaths();
if (m_wellPatshsPartMgrs.size() != wellPaths.size())
if (m_wellPathsPartMgrs.size() != wellPaths.size())
{
clearGeometryCache();
for (auto wellPath : wellPaths)
{
RivWellPathPartMgr* wppm = new RivWellPathPartMgr(wellPath, m_rimView);
m_wellPatshsPartMgrs.push_back(wppm);
m_wellPathsPartMgrs.push_back(wppm);
m_mapFromViewToIndex[wellPath] = wppm;
}
}

View File

@ -77,6 +77,6 @@ private:
private:
caf::PdmPointer<Rim3dView> m_rimView;
cvf::Collection<RivWellPathPartMgr> m_wellPatshsPartMgrs;
cvf::Collection<RivWellPathPartMgr> m_wellPathsPartMgrs;
std::map<RimWellPath*, RivWellPathPartMgr*> m_mapFromViewToIndex;
};