diff options
author | nlin | 2009-01-14 04:59:57 +0000 |
---|---|---|
committer | nlin | 2009-01-14 04:59:57 +0000 |
commit | bfdf2479fb3a0fe401df743b162db65ef5384083 (patch) | |
tree | e77c126229feef583110698873b6efbfc66daba3 /OpenSim/Region/Physics | |
parent | Easy on locking m_scenePresences in RequestTeleportLocation. With the extra l... (diff) | |
download | opensim-SC-bfdf2479fb3a0fe401df743b162db65ef5384083.zip opensim-SC-bfdf2479fb3a0fe401df743b162db65ef5384083.tar.gz opensim-SC-bfdf2479fb3a0fe401df743b162db65ef5384083.tar.bz2 opensim-SC-bfdf2479fb3a0fe401df743b162db65ef5384083.tar.xz |
Improve parsing of joint parameters for NINJA physics (Mantis #2966).
Multiple spaces or leading/trailing spaces when specifying the prims
to connect should no longer cause problems.
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index f735f60..e45bcda 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | |||
@@ -2318,7 +2318,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
2318 | foreach (PhysicsJoint joint in pendingJoints) | 2318 | foreach (PhysicsJoint joint in pendingJoints) |
2319 | { | 2319 | { |
2320 | //DoJointErrorMessage(joint, "taint: time to create joint with parms: " + joint.RawParams); | 2320 | //DoJointErrorMessage(joint, "taint: time to create joint with parms: " + joint.RawParams); |
2321 | string[] jointParams = joint.RawParams.Split(' '); | 2321 | string[] jointParams = joint.RawParams.Split(" ".ToCharArray(), System.StringSplitOptions.RemoveEmptyEntries); |
2322 | List<IntPtr> jointBodies = new List<IntPtr>(); | 2322 | List<IntPtr> jointBodies = new List<IntPtr>(); |
2323 | bool allJointBodiesAreReady = true; | 2323 | bool allJointBodiesAreReady = true; |
2324 | foreach (string jointParam in jointParams) | 2324 | foreach (string jointParam in jointParams) |