aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObject.cs
diff options
context:
space:
mode:
authorMW2007-07-13 19:01:09 +0000
committerMW2007-07-13 19:01:09 +0000
commit401af6ad4a16a39e1460abaf30df1a1170069087 (patch)
tree1c40aa36b6f33ce1ff01183dd5c74f584cb358cd /OpenSim/Region/Environment/Scenes/SceneObject.cs
parent* Fixed bug reported by xyzo - region assets are now stored in "regionassets.... (diff)
downloadopensim-SC_OLD-401af6ad4a16a39e1460abaf30df1a1170069087.zip
opensim-SC_OLD-401af6ad4a16a39e1460abaf30df1a1170069087.tar.gz
opensim-SC_OLD-401af6ad4a16a39e1460abaf30df1a1170069087.tar.bz2
opensim-SC_OLD-401af6ad4a16a39e1460abaf30df1a1170069087.tar.xz
Prim Copying (both CTRL+D and shift-drag) should now work.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObject.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObject.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObject.cs b/OpenSim/Region/Environment/Scenes/SceneObject.cs
index e979186..d507a98 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObject.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObject.cs
@@ -117,11 +117,13 @@ namespace OpenSim.Region.Environment.Scenes
117 117
118 dupe.m_world = this.m_world; 118 dupe.m_world = this.m_world;
119 dupe.m_regionHandle = this.m_regionHandle; 119 dupe.m_regionHandle = this.m_regionHandle;
120 Primitive newRoot = this.rootPrimitive.Copy((EntityBase)dupe, dupe); 120 Primitive newRoot = this.rootPrimitive.Copy(dupe, dupe);
121 dupe.rootPrimitive = newRoot; 121 dupe.rootPrimitive = newRoot;
122 dupe.rootPrimitive.Pos =( this.Pos + new LLVector3(0,0,1)); 122 dupe.children.Add(dupe.rootPrimitive);
123 dupe.rootPrimitive.Pos = this.Pos;
123 dupe.Rotation = this.Rotation; 124 dupe.Rotation = this.Rotation;
124 125 LLUUID rootu= dupe.rootUUID;
126 uint rooti = dupe.rootLocalID;
125 return dupe; 127 return dupe;
126 } 128 }
127 129