mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix of missing changes from previous merge commits. Missing rename of anchestor to ancestor
This commit is contained in:
parent
cbb626aa31
commit
3bca03a722
@ -64,7 +64,7 @@ void RicAppendIntersectionBoxFeature::onActionTriggered(bool isChecked)
|
||||
RiuMainWindow::instance()->selectAsCurrentItem(intersectionBox);
|
||||
|
||||
RimView* rimView = NULL;
|
||||
coll->firstAnchestorOrThisOfType(rimView);
|
||||
coll->firstAncestorOrThisOfType(rimView);
|
||||
if (rimView)
|
||||
{
|
||||
rimView->showGridCells(false);
|
||||
@ -93,7 +93,7 @@ RimIntersectionBoxCollection* RicAppendIntersectionBoxFeature::intersectionBoxCo
|
||||
caf::SelectionManager::instance()->objectsByType(&selectedObjects);
|
||||
if (selectedObjects.size() == 1)
|
||||
{
|
||||
selectedObjects[0]->firstAnchestorOrThisOfType(intersectionBoxColl);
|
||||
selectedObjects[0]->firstAncestorOrThisOfType(intersectionBoxColl);
|
||||
}
|
||||
|
||||
return intersectionBoxColl;
|
||||
|
@ -68,7 +68,7 @@ void RicIntersectionBoxXSliceFeature::onActionTriggered(bool isChecked)
|
||||
RiuMainWindow::instance()->selectAsCurrentItem(intersectionBox);
|
||||
|
||||
RimView* rimView = NULL;
|
||||
coll->firstAnchestorOrThisOfType(rimView);
|
||||
coll->firstAncestorOrThisOfType(rimView);
|
||||
if (rimView)
|
||||
{
|
||||
rimView->showGridCells(false);
|
||||
|
@ -68,7 +68,7 @@ void RicIntersectionBoxYSliceFeature::onActionTriggered(bool isChecked)
|
||||
RiuMainWindow::instance()->selectAsCurrentItem(intersectionBox);
|
||||
|
||||
RimView* rimView = NULL;
|
||||
coll->firstAnchestorOrThisOfType(rimView);
|
||||
coll->firstAncestorOrThisOfType(rimView);
|
||||
if (rimView)
|
||||
{
|
||||
rimView->showGridCells(false);
|
||||
|
@ -67,7 +67,7 @@ void RicIntersectionBoxZSliceFeature::onActionTriggered(bool isChecked)
|
||||
RiuMainWindow::instance()->selectAsCurrentItem(intersectionBox);
|
||||
|
||||
RimView* rimView = NULL;
|
||||
coll->firstAnchestorOrThisOfType(rimView);
|
||||
coll->firstAncestorOrThisOfType(rimView);
|
||||
if (rimView)
|
||||
{
|
||||
rimView->showGridCells(false);
|
||||
|
@ -112,7 +112,7 @@ void RicDeleteItemExec::redo()
|
||||
}
|
||||
|
||||
RimIntersectionBoxCollection* intersectionBoxColl;
|
||||
parentObj->firstAnchestorOrThisOfType(intersectionBoxColl);
|
||||
parentObj->firstAncestorOrThisOfType(intersectionBoxColl);
|
||||
if (view && intersectionBoxColl)
|
||||
{
|
||||
view->scheduleCreateDisplayModelAndRedraw();
|
||||
|
@ -85,7 +85,7 @@ void RivIntersectionBoxPartMgr::updateCellResultColor(size_t timeStepIndex)
|
||||
if (!m_intersectionBoxGenerator->isAnyGeometryPresent()) return;
|
||||
|
||||
RimEclipseView* eclipseView;
|
||||
m_rimIntersectionBox->firstAnchestorOrThisOfType(eclipseView);
|
||||
m_rimIntersectionBox->firstAncestorOrThisOfType(eclipseView);
|
||||
|
||||
if (eclipseView)
|
||||
{
|
||||
@ -148,7 +148,7 @@ void RivIntersectionBoxPartMgr::updateCellResultColor(size_t timeStepIndex)
|
||||
}
|
||||
|
||||
RimGeoMechView* geoView;
|
||||
m_rimIntersectionBox->firstAnchestorOrThisOfType(geoView);
|
||||
m_rimIntersectionBox->firstAncestorOrThisOfType(geoView);
|
||||
|
||||
if (geoView)
|
||||
{
|
||||
@ -405,7 +405,7 @@ cvf::ref<RivIntersectionHexGridInterface> RivIntersectionBoxPartMgr::createHexGr
|
||||
{
|
||||
|
||||
RimEclipseView* eclipseView;
|
||||
m_rimIntersectionBox->firstAnchestorOrThisOfType(eclipseView);
|
||||
m_rimIntersectionBox->firstAncestorOrThisOfType(eclipseView);
|
||||
if (eclipseView)
|
||||
{
|
||||
RigMainGrid* grid = NULL;
|
||||
@ -416,7 +416,7 @@ cvf::ref<RivIntersectionHexGridInterface> RivIntersectionBoxPartMgr::createHexGr
|
||||
}
|
||||
|
||||
RimGeoMechView* geoView;
|
||||
m_rimIntersectionBox->firstAnchestorOrThisOfType(geoView);
|
||||
m_rimIntersectionBox->firstAncestorOrThisOfType(geoView);
|
||||
if (geoView)
|
||||
{
|
||||
RigFemPart* femPart = geoView->geoMechCase()->geoMechData()->femParts()->part(0);
|
||||
|
@ -329,7 +329,7 @@ void RimIntersectionBox::rebuildGeometryAndScheduleCreateDisplayModel()
|
||||
m_intersectionBoxPartMgr = nullptr;
|
||||
|
||||
RimView* rimView = NULL;
|
||||
this->firstAnchestorOrThisOfType(rimView);
|
||||
this->firstAncestorOrThisOfType(rimView);
|
||||
if (rimView)
|
||||
{
|
||||
rimView->scheduleCreateDisplayModelAndRedraw();
|
||||
@ -384,12 +384,12 @@ void RimIntersectionBox::clampSinglePlaneValues()
|
||||
cvf::BoundingBox RimIntersectionBox::currentCellBoundingBox()
|
||||
{
|
||||
RimCase* rimCase = NULL;
|
||||
this->firstAnchestorOrThisOfType(rimCase);
|
||||
this->firstAncestorOrThisOfType(rimCase);
|
||||
|
||||
CVF_ASSERT(rimCase);
|
||||
|
||||
RimEclipseView* eclView = nullptr;
|
||||
this->firstAnchestorOrThisOfType(eclView);
|
||||
this->firstAncestorOrThisOfType(eclView);
|
||||
|
||||
bool useAllCells = true;
|
||||
if (eclView)
|
||||
|
@ -129,7 +129,7 @@ void RimIntersectionBoxCollection::fieldChangedByUi(const caf::PdmFieldHandle* c
|
||||
if (changedField == &isActive)
|
||||
{
|
||||
RimView* rimView = NULL;
|
||||
firstAnchestorOrThisOfType(rimView);
|
||||
firstAncestorOrThisOfType(rimView);
|
||||
if (rimView)
|
||||
{
|
||||
rimView->scheduleCreateDisplayModelAndRedraw();
|
||||
|
@ -109,7 +109,7 @@ void RimMainPlotCollection::showPlotWindow()
|
||||
dockWidget->setWidget(projPropView);
|
||||
|
||||
RimProject* proj = NULL;
|
||||
this->firstAnchestorOrThisOfType(proj);
|
||||
this->firstAncestorOrThisOfType(proj);
|
||||
|
||||
projPropView->setPdmItem(this);
|
||||
|
||||
|
@ -158,7 +158,7 @@ void RiuViewerCommands::displayContextMenu(QMouseEvent* event)
|
||||
CVF_ASSERT(activeView);
|
||||
|
||||
RimCase* rimCase = NULL;
|
||||
activeView->firstAnchestorOrThisOfType(rimCase);
|
||||
activeView->firstAncestorOrThisOfType(rimCase);
|
||||
if (rimCase)
|
||||
{
|
||||
displayModelOffset = rimCase->displayModelOffset();
|
||||
|
Loading…
Reference in New Issue
Block a user