mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
Make sure the material is set on physical prims
This commit is contained in:
@@ -1749,6 +1749,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
part.Scale,
|
||||
part.RotationOffset,
|
||||
part.PhysActor.IsPhysical);
|
||||
part.PhysActor.SetMaterial((int)part.Material);
|
||||
|
||||
part.PhysActor.LocalID = part.LocalId;
|
||||
part.DoPhysicsPropertyUpdate(part.PhysActor.IsPhysical, true);
|
||||
|
||||
Reference in New Issue
Block a user