+ do not reset viewing mode when animating 3d view

This commit is contained in:
wmayer
2013-07-01 12:50:00 +02:00
parent 2977584307
commit e5741863aa
5 changed files with 5 additions and 5 deletions

View File

@@ -84,7 +84,7 @@ SbBool InventorNavigationStyle::processSoEvent(const SoEvent * const ev)
// up the inheritance hierarchy.
if (this->isSeekMode()) { return inherited::processSoEvent(ev); }
// Switch off viewing mode (Bug #0000911)
if (!this->isSeekMode() && this->isViewing())
if (!this->isSeekMode()&& !this->isAnimating() && this->isViewing() )
this->setViewing(false); // by default disable viewing mode to render the scene
const SoType type(ev->getTypeId());