mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1513 Update point of interest
This commit is contained in:
parent
8781e13627
commit
2898884c0b
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user