mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
Apply guard to additional MohrsCirclePlot use
This commit is contained in:
@@ -74,7 +74,7 @@ void RiuTimeStepChangedHandler::handleTimeStepChanged(Rim3dView* changedView) co
|
|||||||
pvtPlotUpdater->updateOnTimeStepChanged(changedView);
|
pvtPlotUpdater->updateOnTimeStepChanged(changedView);
|
||||||
|
|
||||||
RiuMohrsCirclePlot* mohrsCirclePlot = RiuMainWindow::instance()->mohrsCirclePlot();
|
RiuMohrsCirclePlot* mohrsCirclePlot = RiuMainWindow::instance()->mohrsCirclePlot();
|
||||||
mohrsCirclePlot->updateOnTimeStepChanged(changedView);
|
if (mohrsCirclePlot) mohrsCirclePlot->updateOnTimeStepChanged(changedView);
|
||||||
|
|
||||||
//tim.reportTimeMS("done");
|
//tim.reportTimeMS("done");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user