mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
bug fix: Of course i had to pick a wrong number for profileBegin
This commit is contained in:
@@ -381,7 +381,7 @@ namespace OpenSim.Framework
|
|||||||
default: // 8 faces box with cut
|
default: // 8 faces box with cut
|
||||||
shape.ProfileCurve = (byte)ProfileShape.Square | (byte)HollowShape.Triangle;
|
shape.ProfileCurve = (byte)ProfileShape.Square | (byte)HollowShape.Triangle;
|
||||||
shape.PathCurve = (byte)Extrusion.Straight;
|
shape.PathCurve = (byte)Extrusion.Straight;
|
||||||
shape.ProfileBegin = 12500;
|
shape.ProfileBegin = 9375;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5884,7 +5884,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||||||
update.ProfileCurve = (byte)(part.Shape.ProfileCurve & 0x0f);
|
update.ProfileCurve = (byte)(part.Shape.ProfileCurve & 0x0f);
|
||||||
// fix old values that confused viewers
|
// fix old values that confused viewers
|
||||||
if(profileBegin == 1)
|
if(profileBegin == 1)
|
||||||
profileBegin = 12500;
|
profileBegin = 9375;
|
||||||
if(profileHollow == 1)
|
if(profileHollow == 1)
|
||||||
profileHollow = 27500;
|
profileHollow = 27500;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user