Skip to content
Snippets Groups Projects
Commit 5048cc3f authored by Kitty Barnett's avatar Kitty Barnett
Browse files

Merge branch 'viewer/build' into viewer/build

parents 8f2df3e0 11c51a31
No related branches found
No related tags found
No related merge requests found
......@@ -344,9 +344,9 @@
<key>archive</key>
<map>
<key>hash</key>
<string>5d0729b835d63b7fe69acdc6b7c60188</string>
<string>e78ecf919eee01567556787c3a358d15</string>
<key>url</key>
<string>https://viewer.catznip.com/downloads/packages/colladadom-2.3.559710-windows-559710.tar.bz2</string>
<string>https://automated-builds-secondlife-com.s3.amazonaws.com/ct2/78637/744269/colladadom-2.3.557064-windows-557064.tar.bz2</string>
</map>
<key>name</key>
<string>windows</string>
......@@ -356,9 +356,9 @@
<key>archive</key>
<map>
<key>hash</key>
<string>985e3081e41c76b6176d39e44d7fb4b8</string>
<string>7e63a212c8909a25236138422fe01298</string>
<key>url</key>
<string>https://viewer.catznip.com/downloads/packages/colladadom-2.3.559710-windows64-559710.tar.bz2</string>
<string>https://automated-builds-secondlife-com.s3.amazonaws.com/ct2/78636/744273/colladadom-2.3.557064-windows64-557064.tar.bz2</string>
</map>
<key>name</key>
<string>windows64</string>
......
......@@ -889,7 +889,10 @@ const std::string LLFloater360Capture::generate_proposed_filename()
// this looks complex but it's straightforward - removes all non-alpha chars from a string
// which in this case is the SL region name - we use it as a proposed filename but the user is free to change
std::string region_name = region->getName();
std::replace_if(region_name.begin(), region_name.end(), std::not1(std::ptr_fun(isalnum)), '_');
// [SL:KB] - Patch: Viewer-Build | Checked: Catznip-6.6
std::replace_if(region_name.begin(), region_name.end(), [](unsigned char ch) { return !isalnum(ch); }, '_');
// [/SL:KB]
// std::replace_if(region_name.begin(), region_name.end(), std::not1(std::ptr_fun(isalnum)), '_');
if (region_name.length() > 0)
{
filename << region_name;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment