Stop accidentally setting up the UploadTexture caps handler with the same url for all users
This meant that if a user exited the region, the UploadTexture handler would be effectively removed for everyone, causing subsequent failures. This hopefully resolves the recent UploadTexture LLSD problems This was a regression in 5640f2e (Thu Dec 1 23:24:15 2011 +0000)0.7.2-post-fixes
parent
f1698552f9
commit
ac3d88804f
|
@ -77,8 +77,6 @@ namespace OpenSim.Capabilities.Handlers
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// m_log.Debug("[CAPS]: UploadBakedTexture Request in region: " + m_regionName);
|
|
||||||
|
|
||||||
string capsBase = "/CAPS/" + m_HostCapsObj.CapsObjectPath;
|
string capsBase = "/CAPS/" + m_HostCapsObj.CapsObjectPath;
|
||||||
string uploaderPath = Util.RandomClass.Next(5000, 8000).ToString("0000");
|
string uploaderPath = Util.RandomClass.Next(5000, 8000).ToString("0000");
|
||||||
|
|
||||||
|
|
|
@ -104,7 +104,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||||
"UploadBakedTexture",
|
"UploadBakedTexture",
|
||||||
new RestStreamHandler(
|
new RestStreamHandler(
|
||||||
"POST",
|
"POST",
|
||||||
"/CAPS/" + m_uploadBakedTexturePath,
|
"/CAPS/" + caps.CapsObjectPath + m_uploadBakedTexturePath,
|
||||||
new UploadBakedTextureHandler(
|
new UploadBakedTextureHandler(
|
||||||
caps, m_scene.AssetService, m_persistBakedTextures).UploadBakedTexture));
|
caps, m_scene.AssetService, m_persistBakedTextures).UploadBakedTexture));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue