diff --git a/tools/viewer/Viewer.cpp b/tools/viewer/Viewer.cpp index fe116a94e3..ef26b8df9e 100644 --- a/tools/viewer/Viewer.cpp +++ b/tools/viewer/Viewer.cpp @@ -349,6 +349,10 @@ Viewer::Viewer(int argc, char** argv, void* platformData) this->updateTitle(); fWindow->inval(); }); + fCommands.addCommand('r', "Redraw", "Toggle redraw", [this]() { + fRefresh = !fRefresh; + fWindow->inval(); + }); fCommands.addCommand('s', "Overlays", "Toggle stats display", [this]() { fStatsLayer.setActive(!fStatsLayer.getActive()); fWindow->inval();