aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs
diff options
context:
space:
mode:
authorRobert Adams2014-10-02 18:45:36 -0700
committerRobert Adams2014-11-30 19:52:58 -0800
commitcf85ade81e38e692fe99c71386ab2c306ab77319 (patch)
treeba8dd76e62a4a989ae46f02dfe028ef0ee3d37fd /OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs
parentA little more cleaning of config files. (diff)
downloadopensim-SC-cf85ade81e38e692fe99c71386ab2c306ab77319.zip
opensim-SC-cf85ade81e38e692fe99c71386ab2c306ab77319.tar.gz
opensim-SC-cf85ade81e38e692fe99c71386ab2c306ab77319.tar.bz2
opensim-SC-cf85ade81e38e692fe99c71386ab2c306ab77319.tar.xz
BulletSim: add shape and linkset rebuild scheduled flags. Add BSPrim.Incomplete flag based on rebuild flags to say when an object is being rebuilt.
Diffstat (limited to '')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs
index 430d645..cdd912d 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs
@@ -54,6 +54,14 @@ public class BSPrimLinkable : BSPrimDisplaced
54 54
55 public BSLinkset.LinksetImplementation LinksetType { get; set; } 55 public BSLinkset.LinksetImplementation LinksetType { get; set; }
56 56
57 public override bool IsIncomplete
58 {
59 get
60 {
61 return base.IsIncomplete || Linkset.RebuildScheduled ;
62 }
63 }
64
57 public BSPrimLinkable(uint localID, String primName, BSScene parent_scene, OMV.Vector3 pos, OMV.Vector3 size, 65 public BSPrimLinkable(uint localID, String primName, BSScene parent_scene, OMV.Vector3 pos, OMV.Vector3 size,
58 OMV.Quaternion rotation, PrimitiveBaseShape pbs, bool pisPhysical) 66 OMV.Quaternion rotation, PrimitiveBaseShape pbs, bool pisPhysical)
59 : base(localID, primName, parent_scene, pos, size, rotation, pbs, pisPhysical) 67 : base(localID, primName, parent_scene, pos, size, rotation, pbs, pisPhysical)