mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#1513 Update point of interest
This commit is contained in:
@@ -84,6 +84,8 @@ void RicFlyToObjectFeature::onActionTriggered(bool isChecked)
|
||||
cvf::Vec3d cameraUp = cvf::Vec3d::Z_AXIS;
|
||||
|
||||
destinationViewer->mainCamera()->setFromLookAt(cameraEye, cameraViewRefPoint, cameraUp);
|
||||
|
||||
destinationViewer->setPointOfInterest(cameraViewRefPoint);
|
||||
|
||||
activeView->updateCurrentTimeStepAndRedraw();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user