diff options
author | Jeff Ames | 2009-07-11 11:47:33 +0000 |
---|---|---|
committer | Jeff Ames | 2009-07-11 11:47:33 +0000 |
commit | cce451d9de1ee9877dd089917a682127224f56d5 (patch) | |
tree | 7cf66c7afe7a2a21d0efbdadcc5080145704701f /OpenSim/Region/ScriptEngine/Shared | |
parent | Add bin/*.db and bin/*.ini to .gitignore. (diff) | |
download | opensim-SC_OLD-cce451d9de1ee9877dd089917a682127224f56d5.zip opensim-SC_OLD-cce451d9de1ee9877dd089917a682127224f56d5.tar.gz opensim-SC_OLD-cce451d9de1ee9877dd089917a682127224f56d5.tar.bz2 opensim-SC_OLD-cce451d9de1ee9877dd089917a682127224f56d5.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 15188c5..a9af260 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -1862,14 +1862,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1862 | 1862 | ||
1863 | if (part.ParentGroup == null) | 1863 | if (part.ParentGroup == null) |
1864 | { | 1864 | { |
1865 | if ((targetPos.z < ground) && disable_underground_movement) | 1865 | if ((targetPos.z < ground) && disable_underground_movement) |
1866 | targetPos.z = ground; | 1866 | targetPos.z = ground; |
1867 | part.UpdateOffSet(new Vector3((float)targetPos.x, (float)targetPos.y, (float)targetPos.z)); | 1867 | part.UpdateOffSet(new Vector3((float)targetPos.x, (float)targetPos.y, (float)targetPos.z)); |
1868 | } | 1868 | } |
1869 | else if (part.ParentGroup.RootPart == part) | 1869 | else if (part.ParentGroup.RootPart == part) |
1870 | { | 1870 | { |
1871 | if ((targetPos.z < ground) && disable_underground_movement) | 1871 | if ((targetPos.z < ground) && disable_underground_movement) |
1872 | targetPos.z = ground; | 1872 | targetPos.z = ground; |
1873 | SceneObjectGroup parent = part.ParentGroup; | 1873 | SceneObjectGroup parent = part.ParentGroup; |
1874 | parent.UpdateGroupPosition(new Vector3((float)targetPos.x, (float)targetPos.y, (float)targetPos.z)); | 1874 | parent.UpdateGroupPosition(new Vector3((float)targetPos.x, (float)targetPos.y, (float)targetPos.z)); |
1875 | } | 1875 | } |