aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/hippoLimits.cpp4
-rw-r--r--linden/indra/newview/llcloud.cpp2
-rw-r--r--linden/indra/newview/llhudeffectlookat.cpp3
-rw-r--r--linden/indra/newview/llselectmgr.cpp2
-rw-r--r--linden/indra/newview/llviewermenu.h2
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/notifications.xml10
-rw-r--r--linden/indra/newview/wlsettingsmanager.cpp4
7 files changed, 22 insertions, 5 deletions
diff --git a/linden/indra/newview/hippoLimits.cpp b/linden/indra/newview/hippoLimits.cpp
index 78a5856..a5d6ee6 100644
--- a/linden/indra/newview/hippoLimits.cpp
+++ b/linden/indra/newview/hippoLimits.cpp
@@ -215,9 +215,9 @@ F32 HippoLimits::getMaxDragDistance() const
215 { 215 {
216 F32 max_drag_distance = gSavedSettings.getBOOL("LimitDragDistance") ? gSavedSettings.getF32("MaxDragDistance") : FLT_MAX; 216 F32 max_drag_distance = gSavedSettings.getBOOL("LimitDragDistance") ? gSavedSettings.getF32("MaxDragDistance") : FLT_MAX;
217 217
218 if(max_drag_distance > gHippoLimits->getMaxDragDistance()) //Chose the more restrictive 218 if(max_drag_distance > mMaxDragDistance) //Chose the more restrictive
219 { 219 {
220 max_drag_distance = gHippoLimits->getMaxDragDistance(); 220 max_drag_distance = mMaxDragDistance;
221 } 221 }
222 return max_drag_distance; 222 return max_drag_distance;
223 } 223 }
diff --git a/linden/indra/newview/llcloud.cpp b/linden/indra/newview/llcloud.cpp
index f4f5761..3e9b86a 100644
--- a/linden/indra/newview/llcloud.cpp
+++ b/linden/indra/newview/llcloud.cpp
@@ -336,10 +336,10 @@ void LLCloudLayer::destroy()
336 mWindp = NULL; 336 mWindp = NULL;
337} 337}
338 338
339
340void LLCloudLayer::reset() 339void LLCloudLayer::reset()
341{ 340{
342} 341}
342
343void LLCloudLayer::setWindPointer(LLWind *windp) 343void LLCloudLayer::setWindPointer(LLWind *windp)
344{ 344{
345 if (mWindp) 345 if (mWindp)
diff --git a/linden/indra/newview/llhudeffectlookat.cpp b/linden/indra/newview/llhudeffectlookat.cpp
index 75e2f30..ccd723f 100644
--- a/linden/indra/newview/llhudeffectlookat.cpp
+++ b/linden/indra/newview/llhudeffectlookat.cpp
@@ -53,6 +53,7 @@
53// [/RLVa:KB] 53// [/RLVa:KB]
54 54
55#include "llxmltree.h" 55#include "llxmltree.h"
56#include "hippolimits.h"
56 57
57 58
58BOOL LLHUDEffectLookAt::sDebugLookAt = FALSE; 59BOOL LLHUDEffectLookAt::sDebugLookAt = FALSE;
@@ -553,7 +554,7 @@ void LLHUDEffectLookAt::setSourceObject(LLViewerObject* objectp)
553//----------------------------------------------------------------------------- 554//-----------------------------------------------------------------------------
554void LLHUDEffectLookAt::render() 555void LLHUDEffectLookAt::render()
555{ 556{
556 if (sDebugLookAt && mSourceObject.notNull()) 557 if (sDebugLookAt && mSourceObject.notNull() && gHippoLimits->mAllowMinimap) //Has to have allow minimap as well, otherwise it defeats the purpose of no minimap
557 { 558 {
558 gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); 559 gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
559 560
diff --git a/linden/indra/newview/llselectmgr.cpp b/linden/indra/newview/llselectmgr.cpp
index 5a10e98..5a55351 100644
--- a/linden/indra/newview/llselectmgr.cpp
+++ b/linden/indra/newview/llselectmgr.cpp
@@ -1861,7 +1861,7 @@ BOOL LLSelectMgr::selectionAllPCode(LLPCode code)
1861 f(const LLPCode& t) : mCode(t) {} 1861 f(const LLPCode& t) : mCode(t) {}
1862 virtual bool apply(LLViewerObject* object) 1862 virtual bool apply(LLViewerObject* object)
1863 { 1863 {
1864 if (object->getPCode() != mCode) 1864 if (object->getPCode() != mCode && !gSavedSettings.getBOOL("AllowEditingOfTrees"))
1865 { 1865 {
1866 return FALSE; 1866 return FALSE;
1867 } 1867 }
diff --git a/linden/indra/newview/llviewermenu.h b/linden/indra/newview/llviewermenu.h
index 632f783..f33c201 100644
--- a/linden/indra/newview/llviewermenu.h
+++ b/linden/indra/newview/llviewermenu.h
@@ -110,6 +110,8 @@ bool handle_give_money_dialog();
110bool handle_object_open(); 110bool handle_object_open();
111bool handle_go_to_confirm(); 111bool handle_go_to_confirm();
112bool handle_go_to(); 112bool handle_go_to();
113void handle_open_message_log(void*);
114void handle_open_message_builder(void*);
113 115
114// Export to XML or Collada 116// Export to XML or Collada
115void handle_export_selected( void * ); 117void handle_export_selected( void * );
diff --git a/linden/indra/newview/skins/default/xui/en-us/notifications.xml b/linden/indra/newview/skins/default/xui/en-us/notifications.xml
index b98ff7c..3680ca9 100644
--- a/linden/indra/newview/skins/default/xui/en-us/notifications.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/notifications.xml
@@ -3653,6 +3653,16 @@ Default: off
3653 3653
3654<notification 3654<notification
3655 icon="alertmodal.tga" 3655 icon="alertmodal.tga"
3656 label="Minimum Age"
3657 name="HelpRegionMinimumAge"
3658 type="alertmodal">
3659This sets the minimum age (in days) that users entering this sim have to be to enter.
3660
3661Default: 0 (disabled)
3662</notification>
3663
3664<notification
3665 icon="alertmodal.tga"
3656 label="Block Fly" 3666 label="Block Fly"
3657 name="HelpRegionBlockFly" 3667 name="HelpRegionBlockFly"
3658 type="alertmodal"> 3668 type="alertmodal">
diff --git a/linden/indra/newview/wlsettingsmanager.cpp b/linden/indra/newview/wlsettingsmanager.cpp
index ea37f61..853d14f 100644
--- a/linden/indra/newview/wlsettingsmanager.cpp
+++ b/linden/indra/newview/wlsettingsmanager.cpp
@@ -74,6 +74,7 @@
74#include "llviewercontrol.h" 74#include "llviewercontrol.h"
75#include "message.h" 75#include "message.h"
76#include "meta7windlight.h" 76#include "meta7windlight.h"
77#include "llworld.h"
77 78
78#undef max 79#undef max
79 80
@@ -223,6 +224,8 @@ void WLSettingsManager::Apply()
223 sky_mgr->loadPreset( wlSkyPresetName, true ); 224 sky_mgr->loadPreset( wlSkyPresetName, true );
224 } 225 }
225 226
227 LLWorld::getInstance()->rebuildClouds(gAgent.getRegion());
228
226 mSky = NULL; 229 mSky = NULL;
227 mWater = NULL; 230 mWater = NULL;
228 mWaterNormal = NULL; 231 mWaterNormal = NULL;
@@ -232,6 +235,7 @@ void WLSettingsManager::Apply()
232void WLSettingsManager::wlresetRegion() 235void WLSettingsManager::wlresetRegion()
233{ 236{
234 wlIgnoreRegion = false; 237 wlIgnoreRegion = false;
238 LLWorld::getInstance()->rebuildClouds(gAgent.getRegion());
235} 239}
236 240
237// static 241// static