aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 24322a1..304a7a7 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -3272,7 +3272,15 @@ namespace OpenSim.Region.Framework.Scenes
3272 if (hasHollow) ret += 1; 3272 if (hasHollow) ret += 1;
3273 break; 3273 break;
3274 case PrimType.SCULPT: 3274 case PrimType.SCULPT:
3275 ret = 1; 3275 // Special mesh handling
3276 if (this.Shape.SculptType == 5)
3277 {
3278 ret = 7; // its a mesh then max 8 faces
3279 }
3280 else
3281 {
3282 ret = 1; // its a sculpt then max 1 faces
3283 }
3276 break; 3284 break;
3277 } 3285 }
3278 return ret; 3286 return ret;