diff options
author | Teravus Ovares | 2008-03-21 00:52:41 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-03-21 00:52:41 +0000 |
commit | dc79146d01f35d63438bf71cfee702b628289683 (patch) | |
tree | 0732df6298c4ac0d8d6cc0485091fccaf9205aa2 /OpenSim/Region/ScriptEngine | |
parent | * First draft resolution of mantis 777, 734, 389 - scripts do not save in non... (diff) | |
download | opensim-SC_OLD-dc79146d01f35d63438bf71cfee702b628289683.zip opensim-SC_OLD-dc79146d01f35d63438bf71cfee702b628289683.tar.gz opensim-SC_OLD-dc79146d01f35d63438bf71cfee702b628289683.tar.bz2 opensim-SC_OLD-dc79146d01f35d63438bf71cfee702b628289683.tar.xz |
* Fix for #499: linked primsets don't rotate properly when using a door script that works OK on SL
* Fix for #693: llSetRot malfunction in linked prims causing instance of invisible prim
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 612cca4..f925955 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -1038,6 +1038,8 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1038 | { | 1038 | { |
1039 | m_host.AddScriptLPS(1); | 1039 | m_host.AddScriptLPS(1); |
1040 | m_host.UpdateRotation(new LLQuaternion((float)rot.x, (float)rot.y, (float)rot.z, (float)rot.s)); | 1040 | m_host.UpdateRotation(new LLQuaternion((float)rot.x, (float)rot.y, (float)rot.z, (float)rot.s)); |
1041 | // Update rotation does not move the object in the physics scene if it's a linkset. | ||
1042 | m_host.ParentGroup.AbsolutePosition = m_host.ParentGroup.AbsolutePosition; | ||
1041 | } | 1043 | } |
1042 | 1044 | ||
1043 | public LSL_Types.Quaternion llGetRot() | 1045 | public LSL_Types.Quaternion llGetRot() |