Rename SetSculptData() to SetSculptProperties(), since this is what it does (setting SculptData is done through the property)

bulletsim
Justin Clark-Casey (justincc) 2011-07-09 00:42:48 +01:00
parent 5e8900dfd0
commit d79c6c8820
3 changed files with 3 additions and 3 deletions

View File

@ -378,7 +378,7 @@ namespace OpenSim.Framework
_pathEnd = Primitive.PackEndCut(end); _pathEnd = Primitive.PackEndCut(end);
} }
public void SetSculptData(byte sculptType, UUID SculptTextureUUID) public void SetSculptProperties(byte sculptType, UUID SculptTextureUUID)
{ {
_sculptType = sculptType; _sculptType = sculptType;
_sculptTexture = SculptTextureUUID; _sculptTexture = SculptTextureUUID;

View File

@ -801,7 +801,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
// retain pathcurve // retain pathcurve
shapeBlock.PathCurve = part.Shape.PathCurve; shapeBlock.PathCurve = part.Shape.PathCurve;
part.Shape.SetSculptData((byte)type, sculptId); part.Shape.SetSculptProperties((byte)type, sculptId);
part.Shape.SculptEntry = true; part.Shape.SculptEntry = true;
part.UpdateShape(shapeBlock); part.UpdateShape(shapeBlock);
} }

View File

@ -6900,7 +6900,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
// retain pathcurve // retain pathcurve
shapeBlock.PathCurve = part.Shape.PathCurve; shapeBlock.PathCurve = part.Shape.PathCurve;
part.Shape.SetSculptData((byte)type, sculptId); part.Shape.SetSculptProperties((byte)type, sculptId);
part.Shape.SculptEntry = true; part.Shape.SculptEntry = true;
part.UpdateShape(shapeBlock); part.UpdateShape(shapeBlock);
} }