Don't allow totally disable particles in GUI.
Now we don't use tfb shader to compute particles, so it seems to not have a sense anymore. And it's still possible to set particles_effects=0 in config.xml if someone will need it.
This commit is contained in:
parent
bf1392cadc
commit
b90a9fbf0d
@ -136,7 +136,7 @@
|
||||
<div layout="horizontal-row" width="100%" proportion="1">
|
||||
<label text="Particles Effects" I18N="Video settings" width="40%"/>
|
||||
<spacer width="10" height="10"/>
|
||||
<gauge id="particles_effects" min_value="0" max_value="2" width="50%" />
|
||||
<gauge id="particles_effects" min_value="1" max_value="2" width="50%" />
|
||||
</div>
|
||||
|
||||
<spacer height="4" width="10" />
|
||||
|
@ -63,6 +63,7 @@ void CustomVideoSettingsDialog::beforeAddingWidgets()
|
||||
particles_effects->addLabel(_("Important only"));
|
||||
particles_effects->addLabel(_("Enabled"));
|
||||
particles_effects->setValue(UserConfigParams::m_particles_effects);
|
||||
particles_effects->setMin(1);
|
||||
|
||||
SpinnerWidget* geometry_level = getWidget<SpinnerWidget>("geometry_detail");
|
||||
//I18N: Geometry level disabled : lowest level, no details
|
||||
|
Loading…
Reference in New Issue
Block a user