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.Scale,
|
||||||
part.RotationOffset,
|
part.RotationOffset,
|
||||||
part.PhysActor.IsPhysical);
|
part.PhysActor.IsPhysical);
|
||||||
|
part.PhysActor.SetMaterial((int)part.Material);
|
||||||
|
|
||||||
part.PhysActor.LocalID = part.LocalId;
|
part.PhysActor.LocalID = part.LocalId;
|
||||||
part.DoPhysicsPropertyUpdate(part.PhysActor.IsPhysical, true);
|
part.DoPhysicsPropertyUpdate(part.PhysActor.IsPhysical, true);
|
||||||
|
|
|
@ -1608,6 +1608,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
Scale,
|
Scale,
|
||||||
RotationOffset,
|
RotationOffset,
|
||||||
RigidBody);
|
RigidBody);
|
||||||
|
PhysActor.SetMaterial(Material);
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
|
@ -4432,6 +4433,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
Scale,
|
Scale,
|
||||||
RotationOffset,
|
RotationOffset,
|
||||||
UsePhysics);
|
UsePhysics);
|
||||||
|
PhysActor.SetMaterial(Material);
|
||||||
|
|
||||||
pa = PhysActor;
|
pa = PhysActor;
|
||||||
if (pa != null)
|
if (pa != null)
|
||||||
|
|
Loading…
Reference in New Issue