From 3c3f3124d7547fa152bd151543ff51aca45b5aaf Mon Sep 17 00:00:00 2001 From: dnk-88 Date: Thu, 11 Nov 2010 16:06:55 +0200 Subject: [PATCH] Update: (ovqt) Correct works emitter properties. --- code/nel/tools/3d/object_viewer_qt/src/emitter_page.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/nel/tools/3d/object_viewer_qt/src/emitter_page.cpp b/code/nel/tools/3d/object_viewer_qt/src/emitter_page.cpp index c7e4da53f..9a8d3191f 100644 --- a/code/nel/tools/3d/object_viewer_qt/src/emitter_page.cpp +++ b/code/nel/tools/3d/object_viewer_qt/src/emitter_page.cpp @@ -156,6 +156,8 @@ void CEmitterPage::setEditedItem(CWorkspaceNode *ownerNode, NL3D::CPSLocatedBind _ui.radiusLabel->hide(); } + _ui.forceConsistentCheckBox->setChecked(_Emitter->isConsistentEmissionEnabled()); + _ui.directionComboBox->blockSignals(true); if (_Emitter->isSpeedBasisEmissionEnabled()) { @@ -196,7 +198,7 @@ void CEmitterPage::setEditedItem(CWorkspaceNode *ownerNode, NL3D::CPSLocatedBind _ui.bypassAutoLODCheckBox->setChecked(_Emitter->getBypassAutoLOD()); } else - _ui.bypassAutoLODCheckBox->setEnabled(true); + _ui.bypassAutoLODCheckBox->setEnabled(false); } void CEmitterPage::setEmittedType(int index) @@ -245,7 +247,7 @@ void CEmitterPage::setTypeOfEmission(int index) void CEmitterPage::setConsistentEmission(bool state) { - if (_Emitter-> isConsistentEmissionEnabled() == state) return; + if (_Emitter->isConsistentEmissionEnabled() == state) return; _Emitter->enableConsistenEmission(state); updateModifiedFlag(); }