aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-07-21 10:25:49 -0700
committerMcCabe Maxsted2010-07-21 10:25:49 -0700
commit52025ccb508a574c1f9861b58a289d331d246aba (patch)
treeb66ee0adb8c5358919bb60792c38377df4623e1d /linden/indra
parentAdded area search to the advanced menu, port from Emerald by Henri Beauchamp (diff)
downloadmeta-impy-52025ccb508a574c1f9861b58a289d331d246aba.zip
meta-impy-52025ccb508a574c1f9861b58a289d331d246aba.tar.gz
meta-impy-52025ccb508a574c1f9861b58a289d331d246aba.tar.bz2
meta-impy-52025ccb508a574c1f9861b58a289d331d246aba.tar.xz
Moved Limit Select Distance from the Advanced menu into the Advanced Build Options window
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/newview/llfloaterbuildoptions.cpp3
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/floater_build_options.xml4
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml6
3 files changed, 7 insertions, 6 deletions
diff --git a/linden/indra/newview/llfloaterbuildoptions.cpp b/linden/indra/newview/llfloaterbuildoptions.cpp
index b6f6158..8c6c5f3 100644
--- a/linden/indra/newview/llfloaterbuildoptions.cpp
+++ b/linden/indra/newview/llfloaterbuildoptions.cpp
@@ -118,6 +118,7 @@ BOOL LLFloaterBuildOptions::postBuild()
118 childSetValue("grouplandrez", gSavedSettings.getBOOL("RezWithLandGroup") ); 118 childSetValue("grouplandrez", gSavedSettings.getBOOL("RezWithLandGroup") );
119 childSetValue("GridSubUnit", gSavedSettings.getBOOL("GridSubUnit") ); 119 childSetValue("GridSubUnit", gSavedSettings.getBOOL("GridSubUnit") );
120 childSetValue("GridCrossSection", gSavedSettings.getBOOL("GridCrossSections") ); 120 childSetValue("GridCrossSection", gSavedSettings.getBOOL("GridCrossSections") );
121 childSetValue("limit_select_dist_check", gSavedSettings.getBOOL("LimitSelectDistance") );
121 122
122 childSetValue("GridResolution", gSavedSettings.getF32("GridResolution") ); 123 childSetValue("GridResolution", gSavedSettings.getF32("GridResolution") );
123 childSetValue("GridDrawSize", gSavedSettings.getF32("GridDrawSize") ); 124 childSetValue("GridDrawSize", gSavedSettings.getF32("GridDrawSize") );
@@ -296,6 +297,7 @@ void LLFloaterBuildOptions::apply()
296 gSavedSettings.setBOOL("RezWithLandGroup", childGetValue("grouplandrez").asBoolean() ); 297 gSavedSettings.setBOOL("RezWithLandGroup", childGetValue("grouplandrez").asBoolean() );
297 gSavedSettings.setBOOL("GridSubUnit", childGetValue("GridSubUnit").asBoolean() ); 298 gSavedSettings.setBOOL("GridSubUnit", childGetValue("GridSubUnit").asBoolean() );
298 gSavedSettings.setBOOL("GridCrossSections", childGetValue("GridCrossSection").asBoolean() ); 299 gSavedSettings.setBOOL("GridCrossSections", childGetValue("GridCrossSection").asBoolean() );
300 gSavedSettings.setBOOL("LimitSelectDistance", childGetValue("limit_select_dist_check").asBoolean() );
299 301
300 gSavedSettings.setF32("GridResolution", childGetValue("GridResolution").asReal() ); 302 gSavedSettings.setF32("GridResolution", childGetValue("GridResolution").asReal() );
301 gSavedSettings.setF32("GridDrawSize", childGetValue("GridDrawSize").asReal() ); 303 gSavedSettings.setF32("GridDrawSize", childGetValue("GridDrawSize").asReal() );
@@ -341,6 +343,7 @@ void LLFloaterBuildOptions::reset()
341 childSetValue("grouplandrez", gSavedSettings.getControl("RezWithLandGroup")->getDefault() ); 343 childSetValue("grouplandrez", gSavedSettings.getControl("RezWithLandGroup")->getDefault() );
342 childSetValue("GridSubUnit", gSavedSettings.getControl("GridSubUnit")->getDefault() ); 344 childSetValue("GridSubUnit", gSavedSettings.getControl("GridSubUnit")->getDefault() );
343 childSetValue("GridCrossSection", gSavedSettings.getControl("GridCrossSections")->getDefault() ); 345 childSetValue("GridCrossSection", gSavedSettings.getControl("GridCrossSections")->getDefault() );
346 childSetValue("limit_select_dist_check", gSavedSettings.getControl("LimitSelectDistance")->getDefault() );
344 347
345 childSetValue("GridResolution", gSavedSettings.getControl("GridResolution")->getDefault() ); 348 childSetValue("GridResolution", gSavedSettings.getControl("GridResolution")->getDefault() );
346 childSetValue("GridDrawSize", gSavedSettings.getControl("GridDrawSize")->getDefault() ); 349 childSetValue("GridDrawSize", gSavedSettings.getControl("GridDrawSize")->getDefault() );
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_build_options.xml b/linden/indra/newview/skins/default/xui/en-us/floater_build_options.xml
index 80d4524..53dd217 100644
--- a/linden/indra/newview/skins/default/xui/en-us/floater_build_options.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/floater_build_options.xml
@@ -74,6 +74,10 @@
74 mouse_opaque="true" name="BuildPrefsRenderHighlight_toggle" 74 mouse_opaque="true" name="BuildPrefsRenderHighlight_toggle"
75 radio_style="false" width="270"/> 75 radio_style="false" width="270"/>
76 <check_box bottom_delta="-20" enabled="true" follows="left|top" font="SansSerifSmall" height="16" 76 <check_box bottom_delta="-20" enabled="true" follows="left|top" font="SansSerifSmall" height="16"
77 label="Limit Select Distance" left_delta="0" mouse_opaque="true"
78 tooltip=""
79 name="limit_select_dist_check" radio_style="false" width="270" />
80 <check_box bottom_delta="-20" enabled="true" follows="left|top" font="SansSerifSmall" height="16"
77 initial_value="false" label="Show axis on root prim" left_delta="0" 81 initial_value="false" label="Show axis on root prim" left_delta="0"
78 mouse_opaque="true" tool_tip="Default behaviour is to show the axis on the center of mass of a linkset. If enabled, the axis will be shown on the root prim of the linkset instead." 82 mouse_opaque="true" tool_tip="Default behaviour is to show the axis on the center of mass of a linkset. If enabled, the axis will be shown on the root prim of the linkset instead."
79 name="BuildPrefsActualRoot_toggle" radio_style="false" width="270" /> 83 name="BuildPrefsActualRoot_toggle" radio_style="false" width="270" />
diff --git a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml
index e2c2874..b8af8fb 100644
--- a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml
@@ -2127,12 +2127,6 @@
2127 <on_click function="Advanced.CompressImage" 2127 <on_click function="Advanced.CompressImage"
2128 userdata="" /> 2128 userdata="" />
2129 </menu_item_call> 2129 </menu_item_call>
2130 <menu_item_check name="Limit Select Distance"
2131 label="Limit Select Distance">
2132 <on_click function="ToggleControl"
2133 userdata="LimitSelectDistance" />
2134 <on_check control="LimitSelectDistance" />
2135 </menu_item_check>
2136 <menu_item_check name="Disable Max Build Constraints" 2130 <menu_item_check name="Disable Max Build Constraints"
2137 label="Disable Max Build Constraints"> 2131 label="Disable Max Build Constraints">
2138 <on_click function="Advanced.ToggleMaxBuildConstraints" 2132 <on_click function="Advanced.ToggleMaxBuildConstraints"