Clear Shape.SculptEntry if prim type is not a sculptie in llSetPrimitiveParams() - addresses Mantis #4462

mysql-performance
dahlia 2009-12-24 11:00:08 -08:00
parent 0ce3d4b0a9
commit 7a06ab834d
1 changed files with 4 additions and 0 deletions

View File

@ -6502,6 +6502,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
// retain pathcurve // retain pathcurve
shapeBlock.PathCurve = part.Shape.PathCurve; shapeBlock.PathCurve = part.Shape.PathCurve;
part.Shape.SculptEntry = false;
return shapeBlock; return shapeBlock;
} }
@ -6550,6 +6551,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
shapeBlock.PathShearX = (byte)(100 * topshear.x); shapeBlock.PathShearX = (byte)(100 * topshear.x);
shapeBlock.PathShearY = (byte)(100 * topshear.y); shapeBlock.PathShearY = (byte)(100 * topshear.y);
part.Shape.SculptEntry = false;
part.UpdateShape(shapeBlock); part.UpdateShape(shapeBlock);
} }
@ -6591,6 +6593,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
shapeBlock.ProfileBegin = (ushort)(50000 * dimple.x); shapeBlock.ProfileBegin = (ushort)(50000 * dimple.x);
shapeBlock.ProfileEnd = (ushort)(50000 * (1 - dimple.y)); shapeBlock.ProfileEnd = (ushort)(50000 * (1 - dimple.y));
part.Shape.SculptEntry = false;
part.UpdateShape(shapeBlock); part.UpdateShape(shapeBlock);
} }
@ -6711,6 +6714,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
} }
shapeBlock.PathSkew = (sbyte)(100 * skew); shapeBlock.PathSkew = (sbyte)(100 * skew);
part.Shape.SculptEntry = false;
part.UpdateShape(shapeBlock); part.UpdateShape(shapeBlock);
} }