Commit 3b6843b7 authored by Robin Eschbach's avatar Robin Eschbach
Browse files

[FIX #537] reset camera manipulator after load

parent 4d52163c
......@@ -1090,6 +1090,9 @@ bool WMainWindow::event( QEvent* event )
);
}
}
// Set the manipulator anew after loading to fix some bugs of commands to get passed to the right manipulator.
m_mainGLWidget->getViewer()->setCameraManipulator( new WGEZoomTrackballManipulator() );
}
}
......
  • @eschbach This fixes a bug, but it throws away the stored camera perspective. The latter is unintended behavior.

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment