aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--linden/indra/newview/hippolimits.cpp20
-rw-r--r--linden/indra/newview/hippolimits.h1
-rwxr-xr-xlinden/indra/newview/llviewermessage.cpp4
-rw-r--r--linden/indra/newview/llviewerregion.cpp2
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/floater_about.xml7
5 files changed, 27 insertions, 7 deletions
diff --git a/linden/indra/newview/hippolimits.cpp b/linden/indra/newview/hippolimits.cpp
index bb2e805..2990a45 100644
--- a/linden/indra/newview/hippolimits.cpp
+++ b/linden/indra/newview/hippolimits.cpp
@@ -8,7 +8,8 @@
8#include "llviewercontrol.h" 8#include "llviewercontrol.h"
9 9
10#include <llerror.h> 10#include <llerror.h>
11 11#include "llagent.h"
12#include "llviewerregion.h"
12 13
13HippoLimits *gHippoLimits = 0; 14HippoLimits *gHippoLimits = 0;
14 15
@@ -90,7 +91,7 @@ void HippoLimits::setSecondLifeLimits()
90 S32 max_groups = gHippoGridManager->getConnectedGrid()->getMaxAgentGroups(); 91 S32 max_groups = gHippoGridManager->getConnectedGrid()->getMaxAgentGroups();
91 mMaxAgentGroups = llmax(max_groups, 25); 92 mMaxAgentGroups = llmax(max_groups, 25);
92 93
93 mMaxPrimScale = 10.0f; 94 setSecondLifeMaxPrimScale();
94 mMinPrimScale = 0.01f; 95 mMinPrimScale = 0.01f;
95 mMaxHeight = 4096.0f; 96 mMaxHeight = 4096.0f;
96 mMinHoleSize = 0.05f; 97 mMinHoleSize = 0.05f;
@@ -115,6 +116,21 @@ void HippoLimits::setSecondLifeLimits()
115 mVoiceConnector = "SLVoice"; 116 mVoiceConnector = "SLVoice";
116} 117}
117 118
119void HippoLimits::setSecondLifeMaxPrimScale()
120{
121 // SecondLife Mesh sims that allow 64m prims are ones that have BOTH these caps
122 if (gAgent.getRegion()
123 && !gAgent.getRegion()->getCapability("GetMesh").empty()
124 && !gAgent.getRegion()->getCapability("ObjectAdd").empty())
125 {
126 mMaxPrimScale = 64.f;
127 }
128 else
129 {
130 mMaxPrimScale = 10.f;
131 }
132}
133
118F32 HippoLimits::getMaxPrimScale() const 134F32 HippoLimits::getMaxPrimScale() const
119{ 135{
120 if (gSavedSettings.getBOOL("DisableMaxBuildConstraints") && !mEnforceMaxBuild) 136 if (gSavedSettings.getBOOL("DisableMaxBuildConstraints") && !mEnforceMaxBuild)
diff --git a/linden/indra/newview/hippolimits.h b/linden/indra/newview/hippolimits.h
index 9d6b2f6..d63d1b0 100644
--- a/linden/indra/newview/hippolimits.h
+++ b/linden/indra/newview/hippolimits.h
@@ -64,6 +64,7 @@ public:
64private: 64private:
65 void setOpenSimLimits(); 65 void setOpenSimLimits();
66 void setSecondLifeLimits(); 66 void setSecondLifeLimits();
67 void setSecondLifeMaxPrimScale();
67}; 68};
68 69
69 70
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp
index f67f0dc..32d7172 100755
--- a/linden/indra/newview/llviewermessage.cpp
+++ b/linden/indra/newview/llviewermessage.cpp
@@ -3828,10 +3828,10 @@ void process_agent_movement_complete(LLMessageSystem* msg, void**)
3828 return; 3828 return;
3829 } 3829 }
3830 3830
3831 gHippoLimits->setLimits();
3832
3831 if (!gLastVersionChannel.empty()) 3833 if (!gLastVersionChannel.empty())
3832 { 3834 {
3833 gHippoLimits->setLimits();
3834
3835 if (gSavedSettings.getBOOL("ServerVersionChangedChat")) 3835 if (gSavedSettings.getBOOL("ServerVersionChangedChat"))
3836 { 3836 {
3837 LLStringUtil::format_map_t args; 3837 LLStringUtil::format_map_t args;
diff --git a/linden/indra/newview/llviewerregion.cpp b/linden/indra/newview/llviewerregion.cpp
index eba0db7..a43e0c0 100644
--- a/linden/indra/newview/llviewerregion.cpp
+++ b/linden/indra/newview/llviewerregion.cpp
@@ -1439,12 +1439,14 @@ void LLViewerRegion::setSeedCapability(const std::string& url)
1439 capabilityNames.append("FetchLibDescendents"); 1439 capabilityNames.append("FetchLibDescendents");
1440 capabilityNames.append("GetDisplayNames"); 1440 capabilityNames.append("GetDisplayNames");
1441 capabilityNames.append("SetDisplayName"); 1441 capabilityNames.append("SetDisplayName");
1442 capabilityNames.append("GetMesh"); // lets us know if this is a SL-Mesh region
1442 capabilityNames.append("GetTexture"); 1443 capabilityNames.append("GetTexture");
1443 capabilityNames.append("GroupProposalBallot"); 1444 capabilityNames.append("GroupProposalBallot");
1444 capabilityNames.append("HomeLocation"); 1445 capabilityNames.append("HomeLocation");
1445 capabilityNames.append("MapLayer"); 1446 capabilityNames.append("MapLayer");
1446 capabilityNames.append("MapLayerGod"); 1447 capabilityNames.append("MapLayerGod");
1447 capabilityNames.append("NewFileAgentInventory"); 1448 capabilityNames.append("NewFileAgentInventory");
1449 capabilityNames.append("ObjectAdd"); // lets us know if this is a SL-Mesh region
1448 capabilityNames.append("ParcelPropertiesUpdate"); 1450 capabilityNames.append("ParcelPropertiesUpdate");
1449 capabilityNames.append("ParcelMediaURLFilterList"); 1451 capabilityNames.append("ParcelMediaURLFilterList");
1450 capabilityNames.append("ParcelNavigateMedia"); 1452 capabilityNames.append("ParcelNavigateMedia");
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_about.xml b/linden/indra/newview/skins/default/xui/en-us/floater_about.xml
index 863992c..91a63eb 100644
--- a/linden/indra/newview/skins/default/xui/en-us/floater_about.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/floater_about.xml
@@ -35,16 +35,17 @@
35 max_length="65536" mouse_opaque="true" name="credits_editor" width="423" 35 max_length="65536" mouse_opaque="true" name="credits_editor" width="423"
36 word_wrap="true"> 36 word_wrap="true">
37 The Imprudence Viewer was rocked hard by: 37 The Imprudence Viewer was rocked hard by:
38 Jacek Antonelli, McCabe Maxsted, Armin Weatherwax, Elektra Hesse, and CodeBastard Redgrave. 38 Jacek Antonelli, McCabe Maxsted, Armin Weatherwax, Elektra Hesse, CodeBastard Redgrave and Boroondas Gupte.
39
39 http://kokuaviewer.org/ 40 http://kokuaviewer.org/
40 41
41 Imprudence is so awesome thanks to contributions from many generous people: 42 Imprudence is so awesome thanks to contributions from many generous people:
42 43
43 For their patches and code contributions, we thank Admiral Admiral, Aimee Trescothick, Aleric Inglewood, Alissa Sabre, Archimedies Plutonian, Angus Boyd, Ansariel Hiller, Ardy Lay, Asuka Neely, Balp Allen, Carjay McGinnis, Chalice Yao, Dale Glass, Damian Delacrois, Danny Nolan, Felix Duesenburg, Geneko Nemeth, Henri Beauchamp, Katharine Berry, KirstenLee Cinquetti, Kitty Barnett, Latif Khalifa, Lilly Zenovka, Makomk Makosen, Mana Janus, Matthew Dowd, Michelle2 Zenovka, Mm Alder, Nemurimasu Neiro, Nicholaz Beresford, Patrick Sapinski, Paul Churchill, Peter Lameth, Robin Cornelius, Stephen Zenith, Thickbrick Sleaford, Thomas Shikami, Tom Meta, tx Oh, Vaalith Jinn, Vadim Bigbear, Vex Streeter, Zi Ree, and Zwagoth Klaar. 44 For their patches and code contributions, we thank Admiral Admiral, Aimee Trescothick, Aleric Inglewood, Alissa Sabre, Angus Boyd, Ansariel Hiller, Archimedies Plutonian, Ardy Lay, Asuka Neely, Balp Allen, Carjay McGinnis, Chalice Yao, Dale Glass, Damian Delacrois, Danny Nolan, Eryn, Felix Duesenburg, Frederick Martian, Geneko Nemeth, Grandma Bates, Hazim Gazov, Henri Beauchamp, Hg Beeks, Hiroshi Kumaki, Kakurady Drakenar, Katharine Berry, KirstenLee Cinquetti, Kitty Barnett, Latif Khalifa, Lance Corrimal, Lilly Zenovka, Makomk Makosen, Mana Janus, Matthew Dowd, Michelle2 Zenovka, Mimika Oh, Mm Alder, Nemurimasu Neiro, Nicholaz Beresford, Nicky Perian, Patrick Sapinski, Paul Churchill, Peter Lameth, Qarl Fizz, Revolution Smythe, Robin Cornelius, Seraph Linden, Shyotl Kuhr, Siana Gearz, SignpostMarv Martin, Stephen Zenith, TankMaster Finesmith, Thickbrick Sleaford, Thomas Shikami, Tom Meta, Tonya Souther, tx Oh, Vaalith Jinn, Vadim Bigbear, Vex Streeter, WhiteStar Magic, Zi Ree, and Zwagoth Klaar.
44 45
45 For their WindLight presets, we thank Ana Lutetia, CodeBastard Redgrave, and Torley Linden. 46 For their WindLight presets, we thank Ana Lutetia, CodeBastard Redgrave, and Torley Linden.
46 47
47 Thanks also to the developer(s) of the Emerald Viewer, Hippo Viewer, Cool VL Viewer, Snowglobe Viewer, Meta7 Viewer, FrozenGlobe Viewer, and Meerkat Viewer for viewer enhancements we have incorporated, as well as Kitty Barnett for RLVa. Special thanks to the folks at Linden Lab for releasing the viewer source, without which this endeavor would have been impossible. 48 Thanks also to the developer(s) of the Ascent Viewer, Astra Viewer, Cool VL Viewer, Dolphin Viewer, Emerald Viewer, FrozenGlobe Viewer, Hippo Viewer, Meerkat Viewer, Meta7 Viewer, Phoenix Viewer, Singularity Viewer and Snowglobe Viewer for viewer enhancements we have incorporated, as well as Kitty Barnett for RLVa. Special thanks to the folks at Linden Lab for releasing the viewer source, without which this endeavor would have been impossible.
48 49
49 For a complete list of who did what, read the release notes! 50 For a complete list of who did what, read the release notes!
50 51