diff options
author | Robert Adams | 2014-10-10 05:12:30 -0700 |
---|---|---|
committer | Robert Adams | 2014-11-30 19:53:00 -0800 |
commit | 63d192f011c5232334759f8723c5e16197daff1b (patch) | |
tree | df15af191bba7ddb1eb2f03aac1b599f07f93175 /OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs | |
parent | BulletSim: add BSLinkset.AllPartsComplete that checks of all linkset members ... (diff) | |
download | opensim-SC_OLD-63d192f011c5232334759f8723c5e16197daff1b.zip opensim-SC_OLD-63d192f011c5232334759f8723c5e16197daff1b.tar.gz opensim-SC_OLD-63d192f011c5232334759f8723c5e16197daff1b.tar.bz2 opensim-SC_OLD-63d192f011c5232334759f8723c5e16197daff1b.tar.xz |
BulletSim: Remove linkset 'Incomplete' flag as its meaning couldn't be made clear. Add 'InternalScheduleRebuild() CHange rebuild code to call InternalScheduleRebuild() rather than ForceRebuild() to limit the scope of the changes made by the linkset.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs index c293e8c..430d645 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs | |||
@@ -54,16 +54,6 @@ 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 | // A linkset is incomplete when base objects are incomplete, waiting for assets, | ||
62 | // or being rebuilt. | ||
63 | return (base.IsIncomplete || Linkset.RebuildScheduled || !Linkset.AllPartsComplete); | ||
64 | } | ||
65 | } | ||
66 | |||
67 | public BSPrimLinkable(uint localID, String primName, BSScene parent_scene, OMV.Vector3 pos, OMV.Vector3 size, | 57 | public BSPrimLinkable(uint localID, String primName, BSScene parent_scene, OMV.Vector3 pos, OMV.Vector3 size, |
68 | OMV.Quaternion rotation, PrimitiveBaseShape pbs, bool pisPhysical) | 58 | OMV.Quaternion rotation, PrimitiveBaseShape pbs, bool pisPhysical) |
69 | : base(localID, primName, parent_scene, pos, size, rotation, pbs, pisPhysical) | 59 | : base(localID, primName, parent_scene, pos, size, rotation, pbs, pisPhysical) |