Mouse navigation: change unnecesary messages to log messages

This commit is contained in:
wmayer
2021-12-31 19:09:15 +01:00
parent a6e8e04d99
commit 3ba49908d4
2 changed files with 3 additions and 3 deletions

View File

@@ -1010,7 +1010,7 @@ void GestureNavigationStyle::onSetRotationCenter(SbVec2s cursor){
SbBool ret = NavigationStyle::lookAtPoint(cursor);
if(!ret){
this->interactiveCountDec(); //this was in original gesture nav. Not sure what is it needed for --DeepSOIC
Base::Console().Message(
Base::Console().Log(
"No object under cursor! Can't set new center of rotation.\n");
}

View File

@@ -295,7 +295,7 @@ SbBool MayaGestureNavigationStyle::processSoEvent(const SoEvent * const ev)
SbBool ret = NavigationStyle::lookAtPoint(event->getPosition());
if(!ret){
this->interactiveCountDec();
Base::Console().Message(
Base::Console().Log(
"No object under cursor! Can't set new center of rotation.\n");
}
}
@@ -413,7 +413,7 @@ SbBool MayaGestureNavigationStyle::processSoEvent(const SoEvent * const ev)
SbBool ret = NavigationStyle::lookAtPoint(event->getPosition());
if(!ret){
this->interactiveCountDec();
Base::Console().Message(
Base::Console().Log(
"No object under cursor! Can't set new center of rotation.\n");
}
}