OpenSimMirror/OpenSim/Capabilities
Justin Clark-Casey (justincc) 086bf9f15d Save the default terrain texture UUIDs for a new region instead of leaving them as UUID.Zero.
Leaving them at UUID.Zero meant that when a viewer 2 logged into a region that had been freshly created, it received UUID.Zero for these textures, and hence display the land as plain white.
On a simulator restart, the problem would go away since when the database adapators loaded the new region settings, RegionSettings itself has code to use default textures instead of UUID.Zero.
This commit resolves the problem by saving the default texture UUIDs instead of Zero.
However, we currently have to do this in a roundabout way by resaving once the RegionSettings have been created by the database for the first time.  This needless complexity should be addressed.
This change will also have the effect of replacing any existing UUID.Zero terrain textures with the default ones.
However, this shouldn't have any effect since the UUID.Zeros were already being replaced in memory with those same UUIDs.
2011-09-09 00:38:04 +01:00
..
Handlers Save the default terrain texture UUIDs for a new region instead of leaving them as UUID.Zero. 2011-09-09 00:38:04 +01:00
Caps.cs
CapsHandlers.cs
LLSD.cs
LLSDArray.cs
LLSDAssetUploadComplete.cs
LLSDAssetUploadRequest.cs
LLSDAssetUploadResponse.cs
LLSDCapEvent.cs
LLSDEmpty.cs
LLSDHelpers.cs
LLSDInventoryFolder.cs
LLSDInventoryItem.cs
LLSDItemUpdate.cs
LLSDMapLayer.cs
LLSDMapLayerResponse.cs
LLSDMapRequest.cs
LLSDMethod.cs
LLSDMethodString.cs
LLSDParcelVoiceInfoResponse.cs
LLSDRemoteParcelResponse.cs
LLSDStreamHandler.cs
LLSDTaskInventoryUploadComplete.cs
LLSDTaskScriptUpdate.cs
LLSDTaskScriptUploadComplete.cs
LLSDTest.cs
LLSDType.cs
LLSDVoiceAccountResponse.cs