diff options
author | Justin Clark-Casey (justincc) | 2011-10-29 00:39:01 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-29 00:39:01 +0100 |
commit | 61e97ee4c85d79098731eb7ddc074af388c61380 (patch) | |
tree | e6a56e53e5754e9e36e600aebe5e7e8eb09bba3e /OpenSim/Region/ScriptEngine/Shared | |
parent | set grp.RootPart.GroupPosition for code consistency (and readability) rather ... (diff) | |
download | opensim-SC-61e97ee4c85d79098731eb7ddc074af388c61380.zip opensim-SC-61e97ee4c85d79098731eb7ddc074af388c61380.tar.gz opensim-SC-61e97ee4c85d79098731eb7ddc074af388c61380.tar.bz2 opensim-SC-61e97ee4c85d79098731eb7ddc074af388c61380.tar.xz |
Remove completely unused SOG.Rotation parameter
We always use SOP.Rotation instead
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 654f168..f3206ac 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -541,7 +541,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
541 | if (World.Entities.TryGetValue(target, out entity)) | 541 | if (World.Entities.TryGetValue(target, out entity)) |
542 | { | 542 | { |
543 | if (entity is SceneObjectGroup) | 543 | if (entity is SceneObjectGroup) |
544 | ((SceneObjectGroup)entity).Rotation = rotation; | 544 | ((SceneObjectGroup)entity).UpdateGroupRotationR(rotation); |
545 | else if (entity is ScenePresence) | 545 | else if (entity is ScenePresence) |
546 | ((ScenePresence)entity).Rotation = rotation; | 546 | ((ScenePresence)entity).Rotation = rotation; |
547 | } | 547 | } |