aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorTeravus Ovares2008-05-21 05:46:32 +0000
committerTeravus Ovares2008-05-21 05:46:32 +0000
commit8217bbe484eb660a5aa782e63af005825b43e7e6 (patch)
treea621b7f71b081354450f4f75dc77e5b9bb098af6 /OpenSim/Region
parentattempt to fix mysql mapper usage (diff)
downloadopensim-SC-8217bbe484eb660a5aa782e63af005825b43e7e6.zip
opensim-SC-8217bbe484eb660a5aa782e63af005825b43e7e6.tar.gz
opensim-SC-8217bbe484eb660a5aa782e63af005825b43e7e6.tar.bz2
opensim-SC-8217bbe484eb660a5aa782e63af005825b43e7e6.tar.xz
* Fixed needing to alter your sculptie sometimes to get physics to generate a collision mesh for it.
* Sculpties load on startup reliably now and successfully generate a collision mesh as soon as the sculpt texture is available.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index ef2934d..f5d3618 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -1933,7 +1933,10 @@ namespace OpenSim.Region.Environment.Scenes
1933 m_shape.SculptData = texture.Data; 1933 m_shape.SculptData = texture.Data;
1934 if (PhysActor != null) 1934 if (PhysActor != null)
1935 { 1935 {
1936 PhysActor.Shape = m_shape; 1936 // Tricks physics engine into thinking we've changed the part shape.
1937 PrimitiveBaseShape m_newshape = m_shape.Copy();
1938 PhysActor.Shape = m_newshape;
1939 m_shape = m_newshape;
1937 } 1940 }
1938 } 1941 }
1939 } 1942 }