always allow part deselect
parent
9d6a1e01f9
commit
5a3ba2afbb
|
@ -260,22 +260,19 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
return;
|
return;
|
||||||
|
|
||||||
bool oldgprSelect = part.ParentGroup.IsSelected;
|
bool oldgprSelect = part.ParentGroup.IsSelected;
|
||||||
|
bool oldSelect = part.IsSelected;
|
||||||
// This is wrong, wrong, wrong. Selection should not be
|
|
||||||
// handled by group, but by prim. Legacy cruft.
|
|
||||||
// TODO: Make selection flagging per prim!
|
|
||||||
//
|
|
||||||
if (Permissions.CanChangeSelectedState(part, (ScenePresence)remoteClient.SceneAgent))
|
|
||||||
{
|
|
||||||
part.IsSelected = false;
|
part.IsSelected = false;
|
||||||
if (!part.ParentGroup.IsAttachment && oldgprSelect != part.ParentGroup.IsSelected)
|
|
||||||
|
if (oldgprSelect != part.ParentGroup.IsSelected)
|
||||||
|
{
|
||||||
|
if (!part.ParentGroup.IsAttachment )
|
||||||
EventManager.TriggerParcelPrimCountTainted();
|
EventManager.TriggerParcelPrimCountTainted();
|
||||||
|
}
|
||||||
|
|
||||||
// restore targetOmega
|
// restore targetOmega
|
||||||
if (part.AngularVelocity != Vector3.Zero)
|
if (oldSelect && part.AngularVelocity != Vector3.Zero)
|
||||||
part.ScheduleTerseUpdate();
|
part.ScheduleTerseUpdate();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public virtual void ProcessMoneyTransferRequest(UUID source, UUID destination, int amount,
|
public virtual void ProcessMoneyTransferRequest(UUID source, UUID destination, int amount,
|
||||||
int transactiontype, string description)
|
int transactiontype, string description)
|
||||||
|
|
Loading…
Reference in New Issue