mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Temporary LGR : Remove invalid test for eclipse view
This commit is contained in:
parent
f36ca9b49d
commit
fcd9c78dcf
@ -186,10 +186,6 @@ void RicCreateTemporaryLgrFeature::setupActionLook(QAction* actionToSetup)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicCreateTemporaryLgrFeature::createLgr(const LgrInfo& lgrInfo, RigMainGrid* mainGrid)
|
||||
{
|
||||
auto app = RiaApplication::instance();
|
||||
auto eclipseView = dynamic_cast<RimEclipseView*>(app->activeReservoirView());
|
||||
if (!eclipseView) return;
|
||||
|
||||
int lgrId = lgrInfo.id;
|
||||
size_t totalCellCount = mainGrid->globalCellArray().size();
|
||||
size_t lgrCellCount = lgrInfo.cellCount();
|
||||
|
Loading…
Reference in New Issue
Block a user