* Patch by Melanie to fix CreateSelected

afrisby
Teravus Ovares 2007-12-26 04:36:28 +00:00
parent 0e460a81cc
commit b7170215ba
1 changed files with 7 additions and 1 deletions

View File

@ -1453,9 +1453,15 @@ namespace OpenSim.Region.Environment.Scenes
{
LLQuaternion lRot;
lRot = RotationOffset;
clientFlags &= ~(uint)LLObject.ObjectFlags.CreateSelected;
if (remoteClient.AgentId == OwnerID)
{
clientFlags &= ~(uint)LLObject.ObjectFlags.CreateSelected;
if ((uint)(m_flags & LLObject.ObjectFlags.CreateSelected) != 0)
{
clientFlags |= (uint)LLObject.ObjectFlags.CreateSelected;
m_flags &= ~LLObject.ObjectFlags.CreateSelected;
}
}