aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorTom Grimshaw2010-06-04 19:36:31 -0700
committerTom Grimshaw2010-06-04 19:36:31 -0700
commite962c44749ca63dec9df7de1c74b03d9b59c3f20 (patch)
tree8f577161a71faa5db09d4d86e7648cb8fd9ce322 /OpenSim/Region
parentMerge branch 'master' into careminster-presence-refactor (diff)
downloadopensim-SC-e962c44749ca63dec9df7de1c74b03d9b59c3f20.zip
opensim-SC-e962c44749ca63dec9df7de1c74b03d9b59c3f20.tar.gz
opensim-SC-e962c44749ca63dec9df7de1c74b03d9b59c3f20.tar.bz2
opensim-SC-e962c44749ca63dec9df7de1c74b03d9b59c3f20.tar.xz
Fix support for PRIM_SCULPT_FLAG_INVERT and PRIM_SCULPT_FLAG_MIRROR in the llSetPrimitiveParams series of functions. This makes it possible to mirror a sculpt by script.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs10
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