aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index 80723fa..dacac4b 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -271,6 +271,11 @@ namespace OpenSim.Region.Environment.Scenes
271 { 271 {
272 } 272 }
273 273
274 public SceneObjectPart(ulong regionHandle, SceneObjectGroup parent, LLUUID ownerID, uint localID,
275 PrimitiveBaseShape shape, LLVector3 groupPosition, LLVector3 offsetPosition):this(regionHandle, parent, ownerID, localID, shape, groupPosition, LLQuaternion.Identity, offsetPosition)
276 {
277 }
278
274 /// <summary> 279 /// <summary>
275 /// Create a completely new SceneObjectPart (prim) 280 /// Create a completely new SceneObjectPart (prim)
276 /// </summary> 281 /// </summary>
@@ -281,7 +286,7 @@ namespace OpenSim.Region.Environment.Scenes
281 /// <param name="shape"></param> 286 /// <param name="shape"></param>
282 /// <param name="position"></param> 287 /// <param name="position"></param>
283 public SceneObjectPart(ulong regionHandle, SceneObjectGroup parent, LLUUID ownerID, uint localID, 288 public SceneObjectPart(ulong regionHandle, SceneObjectGroup parent, LLUUID ownerID, uint localID,
284 PrimitiveBaseShape shape, LLVector3 groupPosition, LLVector3 offsetPosition) 289 PrimitiveBaseShape shape, LLVector3 groupPosition, LLQuaternion rotationOffset, LLVector3 offsetPosition)
285 { 290 {
286 m_name = "Primitive"; 291 m_name = "Primitive";
287 m_regionHandle = regionHandle; 292 m_regionHandle = regionHandle;
@@ -297,7 +302,7 @@ namespace OpenSim.Region.Environment.Scenes
297 302
298 GroupPosition = groupPosition; 303 GroupPosition = groupPosition;
299 OffsetPosition = offsetPosition; 304 OffsetPosition = offsetPosition;
300 RotationOffset = LLQuaternion.Identity; 305 RotationOffset = rotationOffset;
301 Velocity = new LLVector3(0, 0, 0); 306 Velocity = new LLVector3(0, 0, 0);
302 AngularVelocity = new LLVector3(0, 0, 0); 307 AngularVelocity = new LLVector3(0, 0, 0);
303 Acceleration = new LLVector3(0, 0, 0); 308 Acceleration = new LLVector3(0, 0, 0);