diff options
author | Robert Adams | 2013-04-28 14:44:21 -0700 |
---|---|---|
committer | Robert Adams | 2013-04-29 07:38:40 -0700 |
commit | e5582939fd8d78b61c6f1eeda6de45d94f4b4926 (patch) | |
tree | 1f990ab6f73f4e787566031af35c7c59c89968aa /OpenSim/Region/Physics/BulletSPlugin/BSActors.cs | |
parent | BulletSim: complete BSShape classes. (diff) | |
download | opensim-SC-e5582939fd8d78b61c6f1eeda6de45d94f4b4926.zip opensim-SC-e5582939fd8d78b61c6f1eeda6de45d94f4b4926.tar.gz opensim-SC-e5582939fd8d78b61c6f1eeda6de45d94f4b4926.tar.bz2 opensim-SC-e5582939fd8d78b61c6f1eeda6de45d94f4b4926.tar.xz |
BulletSim: massive refactor of shape classes. Removed shape specific code from BSShapeCollection. Using BSShape* classes to hold references to shape. Simplified shape dependency callbacks. Remove 'PreferredShape' methods and have each class specify shape type. Disable compound shape linkset for a later commit that will simplify linkset implementation.
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSActors.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSActors.cs b/OpenSim/Region/Physics/BulletSPlugin/BSActors.cs index 12a8817..5e3f1c4 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSActors.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSActors.cs | |||
@@ -106,9 +106,9 @@ public class BSActorCollection | |||
106 | { | 106 | { |
107 | ForEachActor(a => a.Refresh()); | 107 | ForEachActor(a => a.Refresh()); |
108 | } | 108 | } |
109 | public void RemoveBodyDependencies() | 109 | public void RemoveDependencies() |
110 | { | 110 | { |
111 | ForEachActor(a => a.RemoveBodyDependencies()); | 111 | ForEachActor(a => a.RemoveDependencies()); |
112 | } | 112 | } |
113 | } | 113 | } |
114 | 114 | ||
@@ -154,7 +154,7 @@ public abstract class BSActor | |||
154 | public abstract void Refresh(); | 154 | public abstract void Refresh(); |
155 | // The object's physical representation is being rebuilt so pick up any physical dependencies (constraints, ...). | 155 | // The object's physical representation is being rebuilt so pick up any physical dependencies (constraints, ...). |
156 | // Register a prestep action to restore physical requirements before the next simulation step. | 156 | // Register a prestep action to restore physical requirements before the next simulation step. |
157 | public abstract void RemoveBodyDependencies(); | 157 | public abstract void RemoveDependencies(); |
158 | 158 | ||
159 | } | 159 | } |
160 | } | 160 | } |