| 33 | } ) |
| 34 | |
| 35 | static void pythonCaptureScreenShot( MR::Viewer* viewer, const char* path ) |
| 36 | { |
| 37 | MR::CommandLoop::runCommandFromGUIThread( [&] () |
| 38 | { |
| 39 | auto image = viewer->captureSceneScreenShot(); |
| 40 | (void)MR::ImageSave::toAnySupportedFormat( image, path ); //TODO: process potential error |
| 41 | } ); |
| 42 | } |
| 43 | |
| 44 | static void pythonCaptureUIScreenShot( MR::Viewer* viewer, const char* path ) |
| 45 | { |
nothing calls this directly
no test coverage detected