mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
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.
This commit is contained in:
@@ -611,7 +611,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
public bool IsSelected
|
||||
{
|
||||
get { return m_isSelected; }
|
||||
get
|
||||
{
|
||||
return m_isSelected;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_isSelected = value;
|
||||
@@ -619,8 +622,23 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
ParentGroup.PartSelectChanged(value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public bool IsPhysical
|
||||
{
|
||||
get
|
||||
{
|
||||
return ((Flags & PrimFlags.Physics) != 0);
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsPhantom
|
||||
{
|
||||
get
|
||||
{
|
||||
return ((Flags & PrimFlags.Phantom) != 0);
|
||||
}
|
||||
}
|
||||
|
||||
public Dictionary<int, string> CollisionFilter
|
||||
{
|
||||
get { return m_CollisionFilter; }
|
||||
|
||||
Reference in New Issue
Block a user