+ do not reset viewing mode when animating 3d view
This commit is contained in:
parent
112b25f9fc
commit
0361730d98
|
@ -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());
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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());
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue
Block a user