aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorSignpostMarv2012-08-02 09:28:32 +0100
committerJustin Clark-Casey (justincc)2012-08-17 23:23:03 +0100
commit7068fddd2fffe356869171ed67be473f7a701470 (patch)
tree3f97a41c06cc2dc9406f4946f57ad9e0abcd71b0 /OpenSim/Region/Framework/Scenes
parentimplemented (diff)
downloadopensim-SC_OLD-7068fddd2fffe356869171ed67be473f7a701470.zip
opensim-SC_OLD-7068fddd2fffe356869171ed67be473f7a701470.tar.gz
opensim-SC_OLD-7068fddd2fffe356869171ed67be473f7a701470.tar.bz2
opensim-SC_OLD-7068fddd2fffe356869171ed67be473f7a701470.tar.xz
fixing bug that get/set the wrong property for prim types other than sphere & box
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs3
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 {