diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Assets/GetMeshModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Assets/GetMeshModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Assets/GetMeshModule.cs b/OpenSim/Region/CoreModules/Avatar/Assets/GetMeshModule.cs index b8aed0b..36aaab3 100644 --- a/OpenSim/Region/CoreModules/Avatar/Assets/GetMeshModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Assets/GetMeshModule.cs | |||
@@ -146,7 +146,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Assets | |||
146 | mesh = m_assetService.GetCached(meshID.ToString()); | 146 | mesh = m_assetService.GetCached(meshID.ToString()); |
147 | if (mesh != null) | 147 | if (mesh != null) |
148 | { | 148 | { |
149 | if (mesh.Type == (sbyte)49) //TODO: Change to AssetType.Mesh when libomv gets updated! | 149 | if (mesh.Type == (SByte)AssetType.Mesh) |
150 | { | 150 | { |
151 | responsedata["str_response_string"] = Convert.ToBase64String(mesh.Data); | 151 | responsedata["str_response_string"] = Convert.ToBase64String(mesh.Data); |
152 | responsedata["content_type"] = "application/vnd.ll.mesh"; | 152 | responsedata["content_type"] = "application/vnd.ll.mesh"; |
@@ -167,7 +167,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Assets | |||
167 | mesh = m_assetService.Get(meshID.ToString()); | 167 | mesh = m_assetService.Get(meshID.ToString()); |
168 | if (mesh != null) | 168 | if (mesh != null) |
169 | { | 169 | { |
170 | if (mesh.Type == (sbyte)49) //TODO: Change to AssetType.Mesh when libomv gets updated! | 170 | if (mesh.Type == (SByte)AssetType.Mesh) |
171 | { | 171 | { |
172 | responsedata["str_response_string"] = Convert.ToBase64String(mesh.Data); | 172 | responsedata["str_response_string"] = Convert.ToBase64String(mesh.Data); |
173 | responsedata["content_type"] = "application/vnd.ll.mesh"; | 173 | responsedata["content_type"] = "application/vnd.ll.mesh"; |