mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Intersection : Add Python support for triangle and result values (#8505)
#8508 Python : Make sure an empty list will be received as empty list in Python Co-authored-by: magnesj <magnesj@users.noreply.github.com>
This commit is contained in:
@@ -18,6 +18,10 @@
|
||||
|
||||
#include "RiuTimeStepChangedHandler.h"
|
||||
|
||||
#include "RiaGuiApplication.h"
|
||||
|
||||
#include "Rim3dView.h"
|
||||
|
||||
#include "RiuMainWindow.h"
|
||||
#include "RiuMohrsCirclePlot.h"
|
||||
#include "RiuPvtPlotPanel.h"
|
||||
@@ -25,8 +29,6 @@
|
||||
#include "RiuRelativePermeabilityPlotPanel.h"
|
||||
#include "RiuRelativePermeabilityPlotUpdater.h"
|
||||
|
||||
#include "Rim3dView.h"
|
||||
|
||||
#include "cvfDebugTimer.h"
|
||||
#include "cvfTrace.h"
|
||||
|
||||
@@ -59,8 +61,7 @@ RiuTimeStepChangedHandler* RiuTimeStepChangedHandler::instance()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuTimeStepChangedHandler::handleTimeStepChanged( Rim3dView* changedView ) const
|
||||
{
|
||||
// cvf::Trace::show("handleTimeStepChanged() viewName: %s timeStep:%d", changedView->name().toLatin1().data(),
|
||||
// changedView->currentTimeStep()); cvf::DebugTimer tim("handleTimeStepChanged()");
|
||||
if ( !RiaGuiApplication::isRunning() ) return;
|
||||
|
||||
RiuRelativePermeabilityPlotUpdater* relPermPlotUpdater =
|
||||
RiuMainWindow::instance()->relativePermeabilityPlotPanel()->plotUpdater();
|
||||
@@ -71,6 +72,4 @@ void RiuTimeStepChangedHandler::handleTimeStepChanged( Rim3dView* changedView )
|
||||
|
||||
RiuMohrsCirclePlot* mohrsCirclePlot = RiuMainWindow::instance()->mohrsCirclePlot();
|
||||
if ( mohrsCirclePlot ) mohrsCirclePlot->updateOnTimeStepChanged( changedView );
|
||||
|
||||
// tim.reportTimeMS("done");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user