aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authorTeravus Ovares2008-03-16 18:55:56 +0000
committerTeravus Ovares2008-03-16 18:55:56 +0000
commit76bf1f365455ec19b277404184a0ab24e1281dde (patch)
treed38c047500e2437fd2521d472d1c54781cf785ab /OpenSim/Region/Environment/Scenes
parentUpdate svn:ignore (diff)
downloadopensim-SC-76bf1f365455ec19b277404184a0ab24e1281dde.zip
opensim-SC-76bf1f365455ec19b277404184a0ab24e1281dde.tar.gz
opensim-SC-76bf1f365455ec19b277404184a0ab24e1281dde.tar.bz2
opensim-SC-76bf1f365455ec19b277404184a0ab24e1281dde.tar.xz
* Fixed prim creation in basic physics mode. ( BasicPhysics returns null probably a lot more then it should? )
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs10
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index 4614709..e9d4c66 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -785,9 +785,13 @@ namespace OpenSim.Region.Environment.Scenes
785 new PhysicsVector(Scale.X, Scale.Y, Scale.Z), 785 new PhysicsVector(Scale.X, Scale.Y, Scale.Z),
786 new Quaternion(RotationOffset.W, RotationOffset.X, 786 new Quaternion(RotationOffset.W, RotationOffset.X,
787 RotationOffset.Y, RotationOffset.Z), RigidBody); 787 RotationOffset.Y, RotationOffset.Z), RigidBody);
788 PhysActor.LocalID = LocalId; 788
789 789 // Basic Physics returns null.. joy joy joy.
790 DoPhysicsPropertyUpdate(RigidBody, true); 790 if (PhysActor != null)
791 {
792 PhysActor.LocalID = LocalId;
793 DoPhysicsPropertyUpdate(RigidBody, true);
794 }
791 } 795 }
792 } 796 }
793 797