diff options
Merge branch 'master' into bulletsim
Diffstat (limited to 'OpenSim/Region/Physics/Manager/PhysicsScene.cs')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsScene.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsScene.cs b/OpenSim/Region/Physics/Manager/PhysicsScene.cs index 54c50f8..13ea084 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsScene.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsScene.cs | |||
@@ -86,7 +86,10 @@ namespace OpenSim.Region.Physics.Manager | |||
86 | Vector3 size, Quaternion rotation, bool isPhysical) | 86 | Vector3 size, Quaternion rotation, bool isPhysical) |
87 | { | 87 | { |
88 | PhysicsActor ret = AddPrimShape(primName, pbs, position, size, rotation, isPhysical); | 88 | PhysicsActor ret = AddPrimShape(primName, pbs, position, size, rotation, isPhysical); |
89 | if (ret != null) ret.LocalID = localID; | 89 | |
90 | if (ret != null) | ||
91 | ret.LocalID = localID; | ||
92 | |||
90 | return ret; | 93 | return ret; |
91 | } | 94 | } |
92 | 95 | ||