mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
fixing bug that get/set the wrong property for prim types other than sphere & box
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
466d684fbe
commit
7068fddd2f
@@ -4255,7 +4255,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
ushort uBegin = (ushort)(50000.0 * begin);
|
||||
ushort uEnd = (ushort)(50000.0 * (1f - end));
|
||||
bool updatePossiblyNeeded = false;
|
||||
if (GetPrimType() == PrimType.SPHERE)
|
||||
PrimType primType = GetPrimType();
|
||||
if (primType == PrimType.SPHERE || primType == PrimType.TORUS || primType == PrimType.TUBE || primType == PrimType.RING)
|
||||
{
|
||||
if (m_shape.ProfileBegin != uBegin || m_shape.ProfileEnd != uEnd)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user