diff options
author | RevolutionSmythe | 2010-10-30 16:30:31 -0500 |
---|---|---|
committer | McCabe Maxsted | 2010-11-01 17:05:45 -0700 |
commit | 1851199361cf6757c767f8117658336751089c44 (patch) | |
tree | e60998f5920f9b9d250d502cb6d2230b5d136f1f /linden | |
parent | Bug fixes for earlier commits. Adds cut to the inventory panel along with cop... (diff) | |
download | meta-impy-1851199361cf6757c767f8117658336751089c44.zip meta-impy-1851199361cf6757c767f8117658336751089c44.tar.gz meta-impy-1851199361cf6757c767f8117658336751089c44.tar.bz2 meta-impy-1851199361cf6757c767f8117658336751089c44.tar.xz |
Fixes a missing help button, adds ability to edit trees like normal objects. Adds more places to rebuild clouds so that they will not stick in the incorrect place.
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/newview/hippoLimits.cpp | 4 | ||||
-rw-r--r-- | linden/indra/newview/llcloud.cpp | 2 | ||||
-rw-r--r-- | linden/indra/newview/llhudeffectlookat.cpp | 3 | ||||
-rw-r--r-- | linden/indra/newview/llselectmgr.cpp | 2 | ||||
-rw-r--r-- | linden/indra/newview/llviewermenu.h | 2 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/notifications.xml | 10 | ||||
-rw-r--r-- | linden/indra/newview/wlsettingsmanager.cpp | 4 |
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 | |||
340 | void LLCloudLayer::reset() | 339 | void LLCloudLayer::reset() |
341 | { | 340 | { |
342 | } | 341 | } |
342 | |||
343 | void LLCloudLayer::setWindPointer(LLWind *windp) | 343 | void 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 | ||
58 | BOOL LLHUDEffectLookAt::sDebugLookAt = FALSE; | 59 | BOOL LLHUDEffectLookAt::sDebugLookAt = FALSE; |
@@ -553,7 +554,7 @@ void LLHUDEffectLookAt::setSourceObject(LLViewerObject* objectp) | |||
553 | //----------------------------------------------------------------------------- | 554 | //----------------------------------------------------------------------------- |
554 | void LLHUDEffectLookAt::render() | 555 | void 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(); | |||
110 | bool handle_object_open(); | 110 | bool handle_object_open(); |
111 | bool handle_go_to_confirm(); | 111 | bool handle_go_to_confirm(); |
112 | bool handle_go_to(); | 112 | bool handle_go_to(); |
113 | void handle_open_message_log(void*); | ||
114 | void handle_open_message_builder(void*); | ||
113 | 115 | ||
114 | // Export to XML or Collada | 116 | // Export to XML or Collada |
115 | void handle_export_selected( void * ); | 117 | void 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"> | ||
3659 | This sets the minimum age (in days) that users entering this sim have to be to enter. | ||
3660 | |||
3661 | Default: 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() | |||
232 | void WLSettingsManager::wlresetRegion() | 235 | void WLSettingsManager::wlresetRegion() |
233 | { | 236 | { |
234 | wlIgnoreRegion = false; | 237 | wlIgnoreRegion = false; |
238 | LLWorld::getInstance()->rebuildClouds(gAgent.getRegion()); | ||
235 | } | 239 | } |
236 | 240 | ||
237 | // static | 241 | // static |