Mouse navigation: change unnecesary messages to log messages
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user