Add sop IsPhysical and IsPhantom to be used gradually in core in place of asking physics engines all the time. Some engines delays may make them give wrong answers.
parent
c8227e1bb7
commit
065cda3711
|
@ -611,7 +611,10 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
|
||||
public bool IsSelected
|
||||
{
|
||||
get { return m_isSelected; }
|
||||
get
|
||||
{
|
||||
return m_isSelected;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_isSelected = value;
|
||||
|
@ -620,6 +623,21 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
}
|
||||
}
|
||||
|
||||
public bool IsPhysical
|
||||
{
|
||||
get
|
||||
{
|
||||
return ((Flags & PrimFlags.Physics) != 0);
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsPhantom
|
||||
{
|
||||
get
|
||||
{
|
||||
return ((Flags & PrimFlags.Phantom) != 0);
|
||||
}
|
||||
}
|
||||
|
||||
public Dictionary<int, string> CollisionFilter
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue