Apply guard to additional MohrsCirclePlot use

This commit is contained in:
Gaute Lindkvist 2018-04-04 11:09:51 +02:00
parent 8b3f980079
commit 054263b94a

View File

@ -74,7 +74,7 @@ void RiuTimeStepChangedHandler::handleTimeStepChanged(Rim3dView* changedView) co
pvtPlotUpdater->updateOnTimeStepChanged(changedView);
RiuMohrsCirclePlot* mohrsCirclePlot = RiuMainWindow::instance()->mohrsCirclePlot();
mohrsCirclePlot->updateOnTimeStepChanged(changedView);
if (mohrsCirclePlot) mohrsCirclePlot->updateOnTimeStepChanged(changedView);
//tim.reportTimeMS("done");
}