* Fixed prim creation in basic physics mode. ( BasicPhysics returns null probably a lot more then it should? )
parent
7e5dc7ef67
commit
76bf1f3654
|
@ -785,9 +785,13 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
new PhysicsVector(Scale.X, Scale.Y, Scale.Z),
|
||||
new Quaternion(RotationOffset.W, RotationOffset.X,
|
||||
RotationOffset.Y, RotationOffset.Z), RigidBody);
|
||||
PhysActor.LocalID = LocalId;
|
||||
|
||||
DoPhysicsPropertyUpdate(RigidBody, true);
|
||||
// Basic Physics returns null.. joy joy joy.
|
||||
if (PhysActor != null)
|
||||
{
|
||||
PhysActor.LocalID = LocalId;
|
||||
DoPhysicsPropertyUpdate(RigidBody, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue