Remove unused code into GUI
This commit is contained in:
@@ -65,18 +65,9 @@ const char* CADNavigationStyle::mouseButtons(ViewerMode mode)
|
||||
|
||||
SbBool CADNavigationStyle::processSoEvent(const SoEvent * const ev)
|
||||
{
|
||||
#if 0
|
||||
// Events when in "ready-to-seek" mode are ignored, except those
|
||||
// which influence the seek mode itself -- these are handled further
|
||||
// up the inheritance hierarchy.
|
||||
if (this->isSeekMode()) {
|
||||
return inherited::processSoEvent(ev);
|
||||
}
|
||||
#else
|
||||
// Switch off viewing mode (Bug #0000911)
|
||||
if (!this->isSeekMode() && !this->isAnimating() && this->isViewing())
|
||||
this->setViewing(false); // by default disable viewing mode to render the scene
|
||||
#endif
|
||||
|
||||
const SoType type(ev->getTypeId());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user