Skip to content
Snippets Groups Projects
Commit 48306097 authored by Alexis Girault's avatar Alexis Girault Committed by Ricardo Ortiz
Browse files

BUG: Fix screenshot key pressed for LaparoscopicCamera

parent ec91ba07
No related branches found
No related tags found
No related merge requests found
......@@ -76,10 +76,10 @@ public:
{
// Get the key press
vtkRenderWindowInteractor *rwi = this->Interactor;
std::string key = rwi->GetKeySym();
std::string keySym = rwi->GetKeySym();
// Capture the screen
if (key == " ");// || key == "S")
if (keySym == "space")
{
this->screenCaptureData->triggerScreenCapture = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment