+ do not reset viewing mode when animating 3d view

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

View File

@ -84,7 +84,7 @@ SbBool BlenderNavigationStyle::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());

View File

@ -86,7 +86,7 @@ SbBool CADNavigationStyle::processSoEvent(const SoEvent * const ev)
if (this->isSeekMode()) { return inherited::processSoEvent(ev); }
#else
// 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
#endif

View File

@ -93,7 +93,7 @@ bool DemoMode::eventFilter(QObject *obj, QEvent *event)
if (event->type() == QEvent::MouseMove) {
if (ui->fullscreen->isChecked()) {
QPoint point = QCursor::pos() - oldPos;
if (point.manhattanLength() > 10) {
if (point.manhattanLength() > 5) {
show();
showHideTimer->start();
}

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());

View File

@ -84,7 +84,7 @@ SbBool TouchpadNavigationStyle::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());