#1174 Made 3D main window pop up, and set wether to show Max Fractrion Injectors or Producers. Set timestep in 3D view to match plot.

This commit is contained in:
Jacob Støren
2017-03-02 16:10:18 +01:00
parent b8c2c8e943
commit f15d698342
8 changed files with 122 additions and 49 deletions

View File

@@ -634,7 +634,7 @@ void RiuViewer::setCurrentFrame(int frameIndex)
cvf::Rendering* firstRendering = m_mainRendering.p();
CVF_ASSERT(firstRendering);
if (m_rimView) m_rimView->setCurrentTimeStep(frameIndex);
if (m_rimView) m_rimView->setCurrentTimeStepAndUpdate(frameIndex);
animationControl()->setCurrentFrameOnly(frameIndex);