mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#973 Linked views : Update parallel projection settings in linked views
This commit is contained in:
@@ -740,6 +740,18 @@ cvf::OverlayItem* RiuViewer::pickFixedPositionedLegend(int winPosX, int winPosY)
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuViewer::updateParallelProjectionSettings(RiuViewer* sourceViewer)
|
||||
{
|
||||
if (!sourceViewer || sourceViewer->m_navigationPolicy.isNull()) return;
|
||||
|
||||
cvf::Vec3d poi = sourceViewer->m_navigationPolicy->pointOfInterest();
|
||||
this->updateParallelProjectionHeightFromMoveZoom(poi);
|
||||
this->updateParallelProjectionCameraPosFromPointOfInterestMove(poi);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user