diff options
author | McCabe Maxsted | 2009-09-18 08:52:24 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-09-18 08:52:24 -0700 |
commit | 4cdef469977e8907b06e1fafb4d7c54a6eff93f9 (patch) | |
tree | 0e51a35185676db5d5260a7bc5060f5cc68dc6a9 /linden/indra/newview/llviewermessage.cpp | |
parent | Merge branch '1.2.0-streaminfo' into 1.2.0-next (diff) | |
download | meta-impy-4cdef469977e8907b06e1fafb4d7c54a6eff93f9.zip meta-impy-4cdef469977e8907b06e1fafb4d7c54a6eff93f9.tar.gz meta-impy-4cdef469977e8907b06e1fafb4d7c54a6eff93f9.tar.bz2 meta-impy-4cdef469977e8907b06e1fafb4d7c54a6eff93f9.tar.xz |
Dynamically change max prim size depending upon LL/OpenSim grid (added setting for opensim detection: LoggedIntoOpenSim). OpenSim max is 128m
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llviewermessage.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp index e326dac..c9a3cb7 100644 --- a/linden/indra/newview/llviewermessage.cpp +++ b/linden/indra/newview/llviewermessage.cpp | |||
@@ -3152,6 +3152,7 @@ void process_agent_movement_complete(LLMessageSystem* msg, void**) | |||
3152 | 3152 | ||
3153 | // If the server version has changed, display an info box and offer | 3153 | // If the server version has changed, display an info box and offer |
3154 | // to display the release notes, unless this is the initial log in. | 3154 | // to display the release notes, unless this is the initial log in. |
3155 | // Also verify we're on an OpenSimulator here. | ||
3155 | if (gLastVersionChannel == version_channel) | 3156 | if (gLastVersionChannel == version_channel) |
3156 | { | 3157 | { |
3157 | return; | 3158 | return; |
@@ -3163,6 +3164,15 @@ void process_agent_movement_complete(LLMessageSystem* msg, void**) | |||
3163 | "ServerVersionChanged", display_release_notes, NULL); | 3164 | "ServerVersionChanged", display_release_notes, NULL); |
3164 | } | 3165 | } |
3165 | 3166 | ||
3167 | if (version_channel.find("OpenSim") != std::string::npos) | ||
3168 | { | ||
3169 | gSavedSettings.setBOOL("LoggedIntoOpenSim", TRUE); | ||
3170 | } | ||
3171 | else | ||
3172 | { | ||
3173 | gSavedSettings.setBOOL("LoggedIntoOpenSim", FALSE); | ||
3174 | } | ||
3175 | |||
3166 | gLastVersionChannel = version_channel; | 3176 | gLastVersionChannel = version_channel; |
3167 | } | 3177 | } |
3168 | 3178 | ||