* 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
This commit is contained in:
Teravus Ovares
2008-03-21 00:52:41 +00:00
parent c1beb85315
commit dc79146d01
2 changed files with 3 additions and 1 deletions
@@ -1038,6 +1038,8 @@ namespace OpenSim.Region.ScriptEngine.Common
{
m_host.AddScriptLPS(1);
m_host.UpdateRotation(new LLQuaternion((float)rot.x, (float)rot.y, (float)rot.z, (float)rot.s));
// Update rotation does not move the object in the physics scene if it's a linkset.
m_host.ParentGroup.AbsolutePosition = m_host.ParentGroup.AbsolutePosition;
}
public LSL_Types.Quaternion llGetRot()