mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
change root part physics type none to apply physics
This commit is contained in:
@@ -2068,7 +2068,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
return;
|
||||
|
||||
if (PhysicsShapeType == (byte)PhysShapeType.none)
|
||||
return;
|
||||
{
|
||||
if(ParentID == 0)
|
||||
m_physicsShapeType = DefaultPhysicsShapeType();
|
||||
else
|
||||
return;
|
||||
}
|
||||
|
||||
bool isPhysical = (_ObjectFlags & (uint) PrimFlags.Physics) != 0;
|
||||
bool isPhantom = (_ObjectFlags & (uint)PrimFlags.Phantom) != 0;
|
||||
|
||||
Reference in New Issue
Block a user