mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Make sure the material is set on physical prims
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user