+ allow to get user friendly names for navigation styles

This commit is contained in:
wmayer
2016-03-10 18:37:48 +01:00
parent 5b156b2380
commit 3f79dfffb6
4 changed files with 59 additions and 29 deletions

View File

@@ -77,6 +77,12 @@ const char* InventorNavigationStyle::mouseButtons(ViewerMode mode)
}
}
std::string InventorNavigationStyle::userFriendlyName() const
{
// do not mark this for translation
return "OpenInventor";
}
SbBool InventorNavigationStyle::processSoEvent(const SoEvent * const ev)
{
// Events when in "ready-to-seek" mode are ignored, except those