Make sure the material is set on physical prims
parent
ee1e725e39
commit
62e66b17bc
|
@ -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);
|
||||
|
|
|
@ -1608,6 +1608,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
Scale,
|
||||
RotationOffset,
|
||||
RigidBody);
|
||||
PhysActor.SetMaterial(Material);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
@ -4432,6 +4433,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
Scale,
|
||||
RotationOffset,
|
||||
UsePhysics);
|
||||
PhysActor.SetMaterial(Material);
|
||||
|
||||
pa = PhysActor;
|
||||
if (pa != null)
|
||||
|
|
Loading…
Reference in New Issue