diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index e84ab05..53b4f7e 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -4255,7 +4255,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
4255 | ushort uBegin = (ushort)(50000.0 * begin); | 4255 | ushort uBegin = (ushort)(50000.0 * begin); |
4256 | ushort uEnd = (ushort)(50000.0 * (1f - end)); | 4256 | ushort uEnd = (ushort)(50000.0 * (1f - end)); |
4257 | bool updatePossiblyNeeded = false; | 4257 | bool updatePossiblyNeeded = false; |
4258 | if (GetPrimType() == PrimType.SPHERE) | 4258 | PrimType primType = GetPrimType(); |
4259 | if (primType == PrimType.SPHERE || primType == PrimType.TORUS || primType == PrimType.TUBE || primType == PrimType.RING) | ||
4259 | { | 4260 | { |
4260 | if (m_shape.ProfileBegin != uBegin || m_shape.ProfileEnd != uEnd) | 4261 | if (m_shape.ProfileBegin != uBegin || m_shape.ProfileEnd != uEnd) |
4261 | { | 4262 | { |