WS30: Remove WS30 LoD range factor
Better handled by camera controls.
This commit is contained in:
parent
75bb602384
commit
e934445f91
2 changed files with 0 additions and 53 deletions
|
@ -1446,7 +1446,6 @@ Started September 2000 by David Megginson, david@megginson.com
|
|||
<use-vpb type="bool">false</use-vpb>
|
||||
<elevation-mesh>
|
||||
<constraint-gap-m type="float" userarchive="y">1.0</constraint-gap-m>
|
||||
<lod-range-factor type="float" userarchive="y">1.0</lod-range-factor>
|
||||
<sample-ratio type="float" userarchive="y">1.0</sample-ratio>
|
||||
<vertical-scale type="float" userarchive="y">1.0</vertical-scale>
|
||||
</elevation-mesh>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
<![CDATA[
|
||||
|
||||
var reload_props = [
|
||||
"/scenery/elevation-mesh/lod-range-factor",
|
||||
"/sim/rendering/static-lod/vegetation-lod-level",
|
||||
"/sim/rendering/static-lod/line-features-lod-level",
|
||||
"/sim/rendering/static-lod/lod-level[0]/line-features-min-width",
|
||||
|
@ -54,12 +53,6 @@
|
|||
else
|
||||
setprop("/sim/gui/dialogs/static-lod/aimp-mp-mode", "Specify Ranges");
|
||||
|
||||
# /scenery/elevation-mesh/lod-range-factor is a multiplier on the width of the
|
||||
# LOD mesh. So an lod-range-factor=2 means that a given LoD mesh will be active
|
||||
# at 2x the mesh width. L6 mesh is typically 2km. So we present to the user a
|
||||
# km value and convert to a factor
|
||||
setprop("/sim/gui/dialogs/static-lod/lod-range-km", getprop("/scenery/elevation-mesh/lod-range-factor") * 2);
|
||||
|
||||
update_enabling = func{
|
||||
var mode = getprop("/sim/gui/dialogs/static-lod/aimp-mp-mode");
|
||||
if (mode == "Low Detail only") {
|
||||
|
@ -643,51 +636,6 @@
|
|||
<label>Detail range</label>
|
||||
</text>
|
||||
|
||||
<slider>
|
||||
<name>elev-lod</name>
|
||||
<row>0</row>
|
||||
<col>1</col>
|
||||
<enable>
|
||||
<equals>
|
||||
<property>/scenery/use-vpb</property>
|
||||
<value>true</value>
|
||||
</equals>
|
||||
</enable>
|
||||
<min>1.0</min>
|
||||
<max>10.0</max>
|
||||
<step>1.0</step>
|
||||
<fraction>0.17</fraction>
|
||||
<property>/scenery/elevation-mesh/lod-range-factor</property>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
<object-name>elev-lod</object-name>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
# /scenery/elevation-mesh/lod-range-factor is a multiplier on the width of the
|
||||
# LOD mesh. So an lod-range-factor=2 means that a given LoD mesh will be active
|
||||
# at 2x the mesh width. L6 mesh is typically 2km. So we present to the user a
|
||||
# km value and convert to a factor
|
||||
setprop("/sim/gui/dialogs/static-lod/lod-range-km", getprop("/scenery/elevation-mesh/lod-range-factor") * 2);
|
||||
</script>
|
||||
</binding>
|
||||
</slider>
|
||||
<text>
|
||||
<label>1234</label>
|
||||
<row>0</row>
|
||||
<col>2</col>
|
||||
<enable>
|
||||
<equals>
|
||||
<property>/scenery/use-vpb</property>
|
||||
<value>true</value>
|
||||
</equals>
|
||||
</enable>
|
||||
<format>%dkm</format>
|
||||
<live>true</live>
|
||||
<property>/sim/gui/dialogs/static-lod/lod-range-km</property>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<row>1</row>
|
||||
<col>0</col>
|
||||
|
|
Loading…
Add table
Reference in a new issue