mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
mantis 7896 and 7910: fix lsl setting of flexi and impact on prim type
This commit is contained in:
@@ -4026,7 +4026,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
ProfileShape ps = (ProfileShape)(Shape.ProfileCurve & 0x07);
|
||||
if (ps == ProfileShape.Square)
|
||||
{
|
||||
if (Shape.PathCurve == (byte)Extrusion.Straight)
|
||||
if (Shape.PathCurve == (byte)Extrusion.Straight || Shape.PathCurve == (byte)Extrusion.Flexible)
|
||||
return PrimType.BOX;
|
||||
else if (Shape.PathCurve == (byte)Extrusion.Curve1)
|
||||
return PrimType.TUBE;
|
||||
|
||||
Reference in New Issue
Block a user