mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Fix server crash when setting prims physical under basic physics.
This commit is contained in:
@@ -1329,8 +1329,12 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
new PhysicsVector(Scale.X, Scale.Y, Scale.Z),
|
||||
new Quaternion(RotationOffset.W, RotationOffset.X,
|
||||
RotationOffset.Y, RotationOffset.Z), usePhysics);
|
||||
PhysActor.LocalID = LocalId;
|
||||
DoPhysicsPropertyUpdate(usePhysics, true);
|
||||
|
||||
if (PhysActor != null)
|
||||
{
|
||||
PhysActor.LocalID = LocalId;
|
||||
DoPhysicsPropertyUpdate(usePhysics, true);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user