Commit fa4a80bb authored by Sreekanth Arikatla's avatar Sreekanth Arikatla
Browse files

REFAC: Print correct info. in no-rendering mode

parent e6f05b12
Pipeline #134216 passed with stage
......@@ -31,7 +31,7 @@ using namespace imstk;
int main()
{
// SDK and Scene
auto sdk = std::make_shared<SimulationManager>();
auto sdk = std::make_shared<SimulationManager>(1);
auto sceneTest = sdk->createNewScene("HelloWorld");
// Add Plane
......
......@@ -467,7 +467,7 @@ SimulationManager::startViewer(const Renderer::Mode renderMode /*= Renderer::Mod
}
void
SimulationManager::printUserControlsInfo(bool isRendering)
SimulationManager::printUserControlsInfo(const bool isRendering) const
{
if (isRendering)
{
......@@ -484,13 +484,13 @@ SimulationManager::printUserControlsInfo(bool isRendering)
else
{
LOG(INFO) <<
"\n------------------------\n" <<
" User controls\n" <<
"------------------------\n" <<
"<space> - pause or unpause simulation\n" <<
" R/r - reset simulation\n" <<
" E/e - end simulatino\n" <<
"------------------------\n\n";
"\n------------------------------------------------\n" <<
" No-rendering mode user controls\n" <<
"------------------------------------------------\n" <<
"<space> + <return> - pause or unpause simulation\n" <<
" R/r + <return> - reset simulation\n" <<
" E/e + <return> - end simulation\n" <<
"------------------------------------------------\n\n";
}
}
......
......@@ -190,7 +190,7 @@ private:
///
/// \brief Print user keyboard controls
///
void printUserControlsInfo(bool isRendering = true);
void printUserControlsInfo(const bool isRendering = true) const;
void startModuleInNewThread(std::shared_ptr<Module> module);
......
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