* 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 prim0.6.0-stable
parent
c1beb85315
commit
dc79146d01
|
@ -401,7 +401,7 @@ namespace OpenSim.Region.Environment
|
|||
permission = true;
|
||||
|
||||
// Locked
|
||||
if ((task.RootPart.OwnerMask & PERM_LOCKED) != 0)
|
||||
if ((task.RootPart.OwnerMask & PERM_LOCKED) == 0)
|
||||
permission = false;
|
||||
|
||||
}
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue