Commit 247b04ba authored by Alexis Girault's avatar Alexis Girault

COMP: remove DATA_ROOT_PATH from testScreenShotUtility

DATA_ROOT_PATH did not exist since the introduction of external data.
Save screenshots in runtime directory instead.

Correct warning: extra tokens at end of #else directive in
parent 10437580
......@@ -745,7 +745,7 @@ void testCameraController()
auto server = std::make_shared<imstk::HDAPIDeviceServer>();
#else if
LOG(WARNING) << "Phantom device option not enabled during build!";
......@@ -2193,7 +2193,7 @@ void testScreenShotUtility()
cam1->setFocalPoint(imstk::Vec3d(1, 1, 0));
// Set up for screen shot
// Create a call back on key press of 'b' to take the screen shot
sdk->getViewer()->setOnCharFunction('b', [&](VTKInteractorStyle* c) -> bool
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