diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 3c2ef34..0a4544c 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -7112,13 +7112,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7112 | shapeBlock.PathScaleX = 100; | 7112 | shapeBlock.PathScaleX = 100; |
7113 | shapeBlock.PathScaleY = 150; | 7113 | shapeBlock.PathScaleY = 150; |
7114 | 7114 | ||
7115 | if (type != (int)ScriptBaseClass.PRIM_SCULPT_TYPE_CYLINDER && | 7115 | if ((type & (int)ScriptBaseClass.PRIM_SCULPT_TYPE_CYLINDER) == 0 && |
7116 | type != (int)ScriptBaseClass.PRIM_SCULPT_TYPE_PLANE && | 7116 | (type & (int)ScriptBaseClass.PRIM_SCULPT_TYPE_PLANE) == 0 && |
7117 | type != (int)ScriptBaseClass.PRIM_SCULPT_TYPE_SPHERE && | 7117 | (type & (int)ScriptBaseClass.PRIM_SCULPT_TYPE_SPHERE) == 0 && |
7118 | type != (int)ScriptBaseClass.PRIM_SCULPT_TYPE_TORUS) | 7118 | (type & (int)ScriptBaseClass.PRIM_SCULPT_TYPE_TORUS) == 0) |
7119 | { | 7119 | { |
7120 | // default | 7120 | // default |
7121 | type = (int)ScriptBaseClass.PRIM_SCULPT_TYPE_SPHERE; | 7121 | type = type | (int)ScriptBaseClass.PRIM_SCULPT_TYPE_SPHERE; |
7122 | } | 7122 | } |
7123 | 7123 | ||
7124 | // retain pathcurve | 7124 | // retain pathcurve |