* 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
0.6.0-stable
Teravus Ovares 2008-03-21 00:52:41 +00:00
parent c1beb85315
commit dc79146d01
2 changed files with 3 additions and 1 deletions

View File

@ -401,7 +401,7 @@ namespace OpenSim.Region.Environment
permission = true; permission = true;
// Locked // Locked
if ((task.RootPart.OwnerMask & PERM_LOCKED) != 0) if ((task.RootPart.OwnerMask & PERM_LOCKED) == 0)
permission = false; permission = false;
} }

View File

@ -1038,6 +1038,8 @@ namespace OpenSim.Region.ScriptEngine.Common
{ {
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
m_host.UpdateRotation(new LLQuaternion((float)rot.x, (float)rot.y, (float)rot.z, (float)rot.s)); 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() public LSL_Types.Quaternion llGetRot()