Make sure the material is set on physical prims

This commit is contained in:
Melanie
2010-12-15 17:54:57 +01:00
parent ee1e725e39
commit 62e66b17bc
2 changed files with 3 additions and 0 deletions

View File

@@ -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)