aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-05-09 07:50:00 +0000
committerTeravus Ovares2008-05-09 07:50:00 +0000
commitb7baa3cd2aa60324f52118e565465475c669ec80 (patch)
tree99ce1c16edb1e0f8895e255e83c563ea489a5882 /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
parentThank you, Melanie for a patch that helps conversion (diff)
downloadopensim-SC_OLD-b7baa3cd2aa60324f52118e565465475c669ec80.zip
opensim-SC_OLD-b7baa3cd2aa60324f52118e565465475c669ec80.tar.gz
opensim-SC_OLD-b7baa3cd2aa60324f52118e565465475c669ec80.tar.bz2
opensim-SC_OLD-b7baa3cd2aa60324f52118e565465475c669ec80.tar.xz
* Valid Sculpted prim now collide properly.
* The first time you set the sculpted texture of a prim you might have to futz with it to get it to generate a sculpted physics proxy * Note that there are already issues in Trunk, (such as the prim scaling issue and prim jumping issue. Essentially editing is difficult right now) * This just adds to the experimental nature of trunk. :D
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index 0075a22..9502627 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -1568,6 +1568,10 @@ namespace OpenSim.Region.Environment.Scenes
1568 byte[] extraP = new byte[Shape.ExtraParams.Length]; 1568 byte[] extraP = new byte[Shape.ExtraParams.Length];
1569 Array.Copy(Shape.ExtraParams, extraP, extraP.Length); 1569 Array.Copy(Shape.ExtraParams, extraP, extraP.Length);
1570 dupe.Shape.ExtraParams = extraP; 1570 dupe.Shape.ExtraParams = extraP;
1571 if (dupe.m_shape.SculptEntry && dupe.m_shape.SculptTexture != LLUUID.Zero)
1572 {
1573 m_parentGroup.Scene.AssetCache.GetAsset(dupe.m_shape.SculptTexture, dupe.SculptTextureCallback, true);
1574 }
1571 bool UsePhysics = ((dupe.ObjectFlags & (uint) LLObject.ObjectFlags.Physics) != 0); 1575 bool UsePhysics = ((dupe.ObjectFlags & (uint) LLObject.ObjectFlags.Physics) != 0);
1572 dupe.DoPhysicsPropertyUpdate(UsePhysics, true); 1576 dupe.DoPhysicsPropertyUpdate(UsePhysics, true);
1573 1577
@@ -1939,6 +1943,10 @@ namespace OpenSim.Region.Environment.Scenes
1939 if (texture != null) 1943 if (texture != null)
1940 { 1944 {
1941 m_shape.SculptData = texture.Data; 1945 m_shape.SculptData = texture.Data;
1946 if (PhysActor != null)
1947 {
1948 PhysActor.Shape = m_shape;
1949 }
1942 } 1950 }
1943 } 1951 }
1944 1952