aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2017-09-16 18:58:10 +0100
committerUbitUmarov2017-09-16 18:58:10 +0100
commit2247251c2f0cf554c51499b88198dc59cc8e351d (patch)
treeec4ff30803e787b7a8fa53d009e4cd13447df60a
parentdouble request.ReadWriteTimeout (diff)
downloadopensim-SC_OLD-2247251c2f0cf554c51499b88198dc59cc8e351d.zip
opensim-SC_OLD-2247251c2f0cf554c51499b88198dc59cc8e351d.tar.gz
opensim-SC_OLD-2247251c2f0cf554c51499b88198dc59cc8e351d.tar.bz2
opensim-SC_OLD-2247251c2f0cf554c51499b88198dc59cc8e351d.tar.xz
bug fix: Of course i had to pick a wrong number for profileBegin
-rw-r--r--OpenSim/Framework/PrimitiveBaseShape.cs2
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs
index 98d1bdd..6607d9f 100644
--- a/OpenSim/Framework/PrimitiveBaseShape.cs
+++ b/OpenSim/Framework/PrimitiveBaseShape.cs
@@ -381,7 +381,7 @@ namespace OpenSim.Framework
381 default: // 8 faces box with cut 381 default: // 8 faces box with cut
382 shape.ProfileCurve = (byte)ProfileShape.Square | (byte)HollowShape.Triangle; 382 shape.ProfileCurve = (byte)ProfileShape.Square | (byte)HollowShape.Triangle;
383 shape.PathCurve = (byte)Extrusion.Straight; 383 shape.PathCurve = (byte)Extrusion.Straight;
384 shape.ProfileBegin = 12500; 384 shape.ProfileBegin = 9375;
385 break; 385 break;
386 } 386 }
387 387
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index f068cef..a404b1b 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -5884,7 +5884,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
5884 update.ProfileCurve = (byte)(part.Shape.ProfileCurve & 0x0f); 5884 update.ProfileCurve = (byte)(part.Shape.ProfileCurve & 0x0f);
5885 // fix old values that confused viewers 5885 // fix old values that confused viewers
5886 if(profileBegin == 1) 5886 if(profileBegin == 1)
5887 profileBegin = 12500; 5887 profileBegin = 9375;
5888 if(profileHollow == 1) 5888 if(profileHollow == 1)
5889 profileHollow = 27500; 5889 profileHollow = 27500;
5890 } 5890 }