aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorMelanie2010-12-15 17:54:57 +0100
committerMelanie2010-12-15 17:54:57 +0100
commit62e66b17bcc6e9dd856a0d46b3097f452d865a3b (patch)
treef93fe4922feaf3e89edae9ea2ac142968c607acd /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
parentMerge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/ca... (diff)
downloadopensim-SC_OLD-62e66b17bcc6e9dd856a0d46b3097f452d865a3b.zip
opensim-SC_OLD-62e66b17bcc6e9dd856a0d46b3097f452d865a3b.tar.gz
opensim-SC_OLD-62e66b17bcc6e9dd856a0d46b3097f452d865a3b.tar.bz2
opensim-SC_OLD-62e66b17bcc6e9dd856a0d46b3097f452d865a3b.tar.xz
Make sure the material is set on physical prims
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 896300f..72443b9 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -1749,6 +1749,7 @@ namespace OpenSim.Region.Framework.Scenes
1749 part.Scale, 1749 part.Scale,
1750 part.RotationOffset, 1750 part.RotationOffset,
1751 part.PhysActor.IsPhysical); 1751 part.PhysActor.IsPhysical);
1752 part.PhysActor.SetMaterial((int)part.Material);
1752 1753
1753 part.PhysActor.LocalID = part.LocalId; 1754 part.PhysActor.LocalID = part.LocalId;
1754 part.DoPhysicsPropertyUpdate(part.PhysActor.IsPhysical, true); 1755 part.DoPhysicsPropertyUpdate(part.PhysActor.IsPhysical, true);