Skip to content

Commit

Permalink
formatting and coverage test
Browse files Browse the repository at this point in the history
  • Loading branch information
samoncrief committed Jan 5, 2025
1 parent 74a5e8b commit 69b6f28
Show file tree
Hide file tree
Showing 4 changed files with 687 additions and 1 deletion.
1 change: 1 addition & 0 deletions application/testing/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,7 @@ f3d_test(NAME TestInteractionOrthographicProjection DATA cow.vtp INTERACTION) #5
f3d_test(NAME TestInteractionZoomToggleOrthographicProjection DATA cow.vtp INTERACTION) #MouseWheel;5;Mousewheelx6;5
f3d_test(NAME TestInteractionRotateCameraMinus90 DATA f3d.glb INTERACTION)
f3d_test(NAME TestInteractionRotateCamera90 DATA f3d.glb INTERACTION)
f3d_test(NAME TestInteractionRollCameraRotation DATA f3d.glb INTERACTION)
f3d_test(NAME TestInteractionPanWithShift DATA f3d.glb INTERACTION) #Shift;LeftMouse;MouseMovements
f3d_test(NAME TestInteractionConsoleOpen DATA f3d.glb INTERACTION UI) #Escape
f3d_test(NAME TestInteractionConsoleOpenExit DATA f3d.glb REGEXP "Interactor has been stopped" INTERACTION NO_BASELINE UI) #Escape;exit;Return
Expand Down
2 changes: 1 addition & 1 deletion library/src/interactor_impl.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ interactor& interactor_impl::initCommands()
this->addCommand("stop_interactor", [&](const std::vector<std::string>&) { this->stop(); });

this->addCommand("reset_camera",
[&](const std::vector<std::string>&)
[&](const std::vector<std::string>&)
{
this->Internals->Window.getCamera().resetToDefault();
this->Internals->Style->EndTemporaryUp();
Expand Down
3 changes: 3 additions & 0 deletions testing/baselines/TestInteractionRollCameraRotation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 69b6f28

Please sign in to comment.