mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Fix linking phantom and nonphantom prims. Make the error message more friendly
when estate_settings.xml is empty or missing
This commit is contained in:
@@ -553,7 +553,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
|
||||
if (ParentGroup != null && ParentGroup.RootPart != null)
|
||||
{
|
||||
if (_parentID != 0)
|
||||
if (_parentID != 0 && PhysActor != null)
|
||||
{
|
||||
Vector3 resultingposition = GetWorldPosition();
|
||||
PhysActor.Position = new PhysicsVector(resultingposition.X, resultingposition.Y, resultingposition.Z);
|
||||
|
||||
Reference in New Issue
Block a user