diff options
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Assets/GetTextureModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Assets/GetTextureModule.cs b/OpenSim/Region/CoreModules/Avatar/Assets/GetTextureModule.cs index ac2ad7a..a8da330 100644 --- a/OpenSim/Region/CoreModules/Avatar/Assets/GetTextureModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Assets/GetTextureModule.cs | |||
@@ -226,7 +226,7 @@ namespace OpenSim.Region.CoreModules.Avatar.ObjectCaps | |||
226 | } | 226 | } |
227 | else | 227 | else |
228 | { | 228 | { |
229 | AssetBase newTexture = new AssetBase(texture.ID + "-" + format, texture.Name, (sbyte)AssetType.Texture, texture.CreatorID); | 229 | AssetBase newTexture = new AssetBase(texture.ID + "-" + format, texture.Name, (sbyte)AssetType.Texture, texture.Metadata.CreatorID); |
230 | newTexture.Data = ConvertTextureData(texture, format); | 230 | newTexture.Data = ConvertTextureData(texture, format); |
231 | if (newTexture.Data.Length == 0) | 231 | if (newTexture.Data.Length == 0) |
232 | return false; // !!! Caller try another codec, please! | 232 | return false; // !!! Caller try another codec, please! |