mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
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.
This commit is contained in:
@@ -1470,7 +1470,7 @@ if (m_shape != null) {
|
||||
|
||||
List<string> bodyNames = new List<string>();
|
||||
string RawParams = Description;
|
||||
string[] jointParams = RawParams.Split(' ');
|
||||
string[] jointParams = RawParams.Split(" ".ToCharArray(), System.StringSplitOptions.RemoveEmptyEntries);
|
||||
string trackedBodyName = null;
|
||||
if (jointParams.Length >= 2)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user