Skip to content

Commit

Permalink
update coloring info and scene info, remove ? bind
Browse files Browse the repository at this point in the history
  • Loading branch information
samoncrief committed Dec 10, 2024
1 parent a21fbe5 commit ed0d795
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions library/src/interactor_impl.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -580,10 +580,15 @@ interactor& interactor_impl::initCommands()
this->addCommand("print_scene_info",
[&](const std::vector<std::string>&)
{
this->Internals->Window.PrintColoringDescription(log::VerboseLevel::INFO);
this->Internals->Window.PrintSceneDescription(log::VerboseLevel::INFO);
});

this->addCommand("print_coloring_info",
[&](const std::vector<std::string>&)
{
this->Internals->Window.PrintColoringDescription(log::VerboseLevel::INFO);
});

this->addCommand("set_camera",
[&](const std::vector<std::string>& args)
{
Expand Down Expand Up @@ -840,7 +845,6 @@ interactor& interactor_impl::initBindings()
this->addBinding({mod_t::ANY, "7"}, "set_camera top", "Camera", std::bind(docStr, "Top View camera"));
this->addBinding({mod_t::ANY, "9"}, "set_camera isometric", "Camera", std::bind(docStr, "Isometric View camera"));
this->addBinding({mod_t::NONE, "H"}, "toggle ui.cheatsheet", "Others", std::bind(docStr, "Toggle cheatsheet display"));
this->addBinding({mod_t::ANY, "Question"}, "print_scene_info", "Others", std::bind(docStr, "Print scene descr to terminal"));
this->addBinding({mod_t::NONE, F3D_EXIT_HOTKEY_SYM}, "stop_interactor", "Others", std::bind(docStr, "Quit"));
this->addBinding({mod_t::NONE, "Return"}, "reset_camera", "Others", std::bind(docStr, "Reset camera to initial parameters"));
this->addBinding({mod_t::NONE, "Space"}, "toggle_animation", "Others", std::bind(docStr, "Play/Pause animation if any"));
Expand Down

0 comments on commit ed0d795

Please sign in to comment.