diff options
author | Justin Clark-Casey (justincc) | 2011-07-09 00:42:48 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-07-09 00:42:48 +0100 |
commit | d79c6c8820e7219afa3f01a0910a794bcdbb307d (patch) | |
tree | aa8e5f42e6f96a22c58b72c725a7ed31dc628554 /OpenSim/Region | |
parent | minor: code tidy and inserted log lines for future use. (diff) | |
download | opensim-SC-d79c6c8820e7219afa3f01a0910a794bcdbb307d.zip opensim-SC-d79c6c8820e7219afa3f01a0910a794bcdbb307d.tar.gz opensim-SC-d79c6c8820e7219afa3f01a0910a794bcdbb307d.tar.bz2 opensim-SC-d79c6c8820e7219afa3f01a0910a794bcdbb307d.tar.xz |
Rename SetSculptData() to SetSculptProperties(), since this is what it does (setting SculptData is done through the property)
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs index faed522..aa23fee 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs | |||
@@ -801,7 +801,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
801 | // retain pathcurve | 801 | // retain pathcurve |
802 | shapeBlock.PathCurve = part.Shape.PathCurve; | 802 | shapeBlock.PathCurve = part.Shape.PathCurve; |
803 | 803 | ||
804 | part.Shape.SetSculptData((byte)type, sculptId); | 804 | part.Shape.SetSculptProperties((byte)type, sculptId); |
805 | part.Shape.SculptEntry = true; | 805 | part.Shape.SculptEntry = true; |
806 | part.UpdateShape(shapeBlock); | 806 | part.UpdateShape(shapeBlock); |
807 | } | 807 | } |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index ce7d97c..22f8ddb 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -6900,7 +6900,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
6900 | // retain pathcurve | 6900 | // retain pathcurve |
6901 | shapeBlock.PathCurve = part.Shape.PathCurve; | 6901 | shapeBlock.PathCurve = part.Shape.PathCurve; |
6902 | 6902 | ||
6903 | part.Shape.SetSculptData((byte)type, sculptId); | 6903 | part.Shape.SetSculptProperties((byte)type, sculptId); |
6904 | part.Shape.SculptEntry = true; | 6904 | part.Shape.SculptEntry = true; |
6905 | part.UpdateShape(shapeBlock); | 6905 | part.UpdateShape(shapeBlock); |
6906 | } | 6906 | } |