#1513 Update point of interest

This commit is contained in:
Magne Sjaastad 2017-05-23 09:24:03 +02:00
parent 8781e13627
commit 2898884c0b

View File

@ -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();
}