mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-30 04:40:53 +00:00
Update: (ovqt) Correct works emitter properties.
This commit is contained in:
parent
e7d0bb4671
commit
3c3f3124d7
1 changed files with 4 additions and 2 deletions
|
@ -156,6 +156,8 @@ void CEmitterPage::setEditedItem(CWorkspaceNode *ownerNode, NL3D::CPSLocatedBind
|
||||||
_ui.radiusLabel->hide();
|
_ui.radiusLabel->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_ui.forceConsistentCheckBox->setChecked(_Emitter->isConsistentEmissionEnabled());
|
||||||
|
|
||||||
_ui.directionComboBox->blockSignals(true);
|
_ui.directionComboBox->blockSignals(true);
|
||||||
if (_Emitter->isSpeedBasisEmissionEnabled())
|
if (_Emitter->isSpeedBasisEmissionEnabled())
|
||||||
{
|
{
|
||||||
|
@ -196,7 +198,7 @@ void CEmitterPage::setEditedItem(CWorkspaceNode *ownerNode, NL3D::CPSLocatedBind
|
||||||
_ui.bypassAutoLODCheckBox->setChecked(_Emitter->getBypassAutoLOD());
|
_ui.bypassAutoLODCheckBox->setChecked(_Emitter->getBypassAutoLOD());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
_ui.bypassAutoLODCheckBox->setEnabled(true);
|
_ui.bypassAutoLODCheckBox->setEnabled(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CEmitterPage::setEmittedType(int index)
|
void CEmitterPage::setEmittedType(int index)
|
||||||
|
@ -245,7 +247,7 @@ void CEmitterPage::setTypeOfEmission(int index)
|
||||||
|
|
||||||
void CEmitterPage::setConsistentEmission(bool state)
|
void CEmitterPage::setConsistentEmission(bool state)
|
||||||
{
|
{
|
||||||
if (_Emitter-> isConsistentEmissionEnabled() == state) return;
|
if (_Emitter->isConsistentEmissionEnabled() == state) return;
|
||||||
_Emitter->enableConsistenEmission(state);
|
_Emitter->enableConsistenEmission(state);
|
||||||
updateModifiedFlag();
|
updateModifiedFlag();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue