#2331 Introduce new intermediate class RimGridView

This commit is contained in:
Jacob Støren committed 2018-01-15 14:53:48 +01:00
1 parent 1bbd3ade7b
commit b092565a61
48 files changed
+1387 -508

No files matched your search

@@ -50,7 +50,7 @@ bool RicIntersectionBoxYSliceFeature::isCommandEnabled()
//--------------------------------------------------------------------------------------------------
void RicIntersectionBoxYSliceFeature::onActionTriggered(bool isChecked)
{
Rim3dView* activeView = RiaApplication::instance()->activeReservoirView();
RimGridView* activeView = RiaApplication::instance()->activeGridView();
if (activeView)
{
RimIntersectionCollection* coll = activeView->crossSectionCollection();
@@ -67,7 +67,7 @@ void RicIntersectionBoxYSliceFeature::onActionTriggered(bool isChecked)
coll->updateConnectedEditors();
RiuMainWindow::instance()->selectAsCurrentItem(intersectionBox);
Rim3dView* rimView = NULL;
RimGridView* rimView = NULL;
coll->firstAncestorOrThisOfType(rimView);
if (rimView)
{