diff options
author | Robert Adams | 2013-01-23 09:09:17 -0800 |
---|---|---|
committer | Robert Adams | 2013-01-23 14:25:18 -0800 |
commit | a5e9c665f08059fef16d0b0875697cb08e16351e (patch) | |
tree | 61d11e9cb950fb7fe780dc96466bc8ba426937b9 /OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | |
parent | BulletSim: working on COM (diff) | |
download | opensim-SC_OLD-a5e9c665f08059fef16d0b0875697cb08e16351e.zip opensim-SC_OLD-a5e9c665f08059fef16d0b0875697cb08e16351e.tar.gz opensim-SC_OLD-a5e9c665f08059fef16d0b0875697cb08e16351e.tar.bz2 opensim-SC_OLD-a5e9c665f08059fef16d0b0875697cb08e16351e.tar.xz |
BulletSim: center-of-gravity linkset changes. Not working yet.
Conflicts:
OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSParam.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs b/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs index da7438a..9460daf 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | |||
@@ -645,11 +645,8 @@ public static class BSParam | |||
645 | entries.Add(new PhysParameterEntry(pd.name, pd.desc)); | 645 | entries.Add(new PhysParameterEntry(pd.name, pd.desc)); |
646 | } | 646 | } |
647 | 647 | ||
648 | // make the list in alphabetical order for estetic reasons | 648 | // make the list alphabetical for estetic reasons |
649 | entries.Sort(delegate(PhysParameterEntry ppe1, PhysParameterEntry ppe2) | 649 | entries.Sort((ppe1, ppe2) => { return ppe1.name.CompareTo(ppe2.name); }); |
650 | { | ||
651 | return ppe1.name.CompareTo(ppe2.name); | ||
652 | }); | ||
653 | 650 | ||
654 | SettableParameters = entries.ToArray(); | 651 | SettableParameters = entries.ToArray(); |
655 | } | 652 | } |