0000911: V0.13- Faces of Solid models cannot be selected when ALT-TAB is used to switch between applications

This commit is contained in:
wmayer
2012-12-27 12:29:44 +01:00
parent 8c55f5dc14
commit f0bdf1b786
6 changed files with 11 additions and 22 deletions

View File

@@ -83,6 +83,9 @@ SbBool InventorNavigationStyle::processSoEvent(const SoEvent * const ev)
// which influence the seek mode itself -- these are handled further
// up the inheritance hierarchy.
if (this->isSeekMode()) { return inherited::processSoEvent(ev); }
// Switch off viewing mode (Bug #0000911)
if (!this->isSeekMode() && this->isViewing())
this->setViewing(false); // by default disable viewing mode to render the scene
const SoType type(ev->getTypeId());