aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/ObjectCaps/UploadObjectAssetModule.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/ObjectCaps/UploadObjectAssetModule.cs b/OpenSim/Region/CoreModules/Avatar/ObjectCaps/UploadObjectAssetModule.cs
index 465da29..09b9719 100644
--- a/OpenSim/Region/CoreModules/Avatar/ObjectCaps/UploadObjectAssetModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/ObjectCaps/UploadObjectAssetModule.cs
@@ -217,9 +217,12 @@ namespace OpenSim.Region.CoreModules.Avatar.ObjectCaps
217 switch ((ushort)extraParam.Type) 217 switch ((ushort)extraParam.Type)
218 { 218 {
219 case (ushort)ExtraParamType.Sculpt: 219 case (ushort)ExtraParamType.Sculpt:
220 Primitive.SculptData sculpt = new Primitive.SculptData(extraParam.ExtraParamData, 0);
221
220 pbs.SculptEntry = true; 222 pbs.SculptEntry = true;
223
221 pbs.SculptTexture = obj.SculptID; 224 pbs.SculptTexture = obj.SculptID;
222 pbs.SculptType = (byte)SculptType.Mesh; 225 pbs.SculptType = (byte)sculpt.Type;
223 226
224 break; 227 break;
225 case (ushort)ExtraParamType.Flexible: 228 case (ushort)ExtraParamType.Flexible: