manits 9118: fix clear of animesh flag on *GetPrimitiveParams

This commit is contained in:
UbitUmarov
2024-03-04 23:48:13 +00:00
parent 97b03f76c7
commit 52c287d8dc

View File

@@ -11205,7 +11205,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (Shape.AnimeshEnabled)
stype |= ScriptBaseClass.PRIM_SCULPT_FLAG_ANIMESH;
else
stype &= ScriptBaseClass.PRIM_SCULPT_FLAG_ANIMESH;
stype &= ~ScriptBaseClass.PRIM_SCULPT_FLAG_ANIMESH;
res.Add(new LSL_Integer(stype));
break;