diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 6532537..a2a8882 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -1378,7 +1378,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1378 | return; | 1378 | return; |
1379 | 1379 | ||
1380 | AssetBase asset = CreateAsset(itemBase.Name, itemBase.Description, (sbyte)itemBase.AssetType, | 1380 | AssetBase asset = CreateAsset(itemBase.Name, itemBase.Description, (sbyte)itemBase.AssetType, |
1381 | Encoding.ASCII.GetBytes("default\n{\n state_entry()\n {\n llSay(0, \"Script running\");\n }\n}"), | 1381 | Encoding.ASCII.GetBytes("default\n{\n state_entry()\n {\n llSay(0, \"Script running\");\n }\n\n touch_start(integer num)\n {\n }\n}"), |
1382 | remoteClient.AgentId); | 1382 | remoteClient.AgentId); |
1383 | AssetService.Store(asset); | 1383 | AssetService.Store(asset); |
1384 | 1384 | ||
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 09c945b..5b007e6 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -358,7 +358,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
358 | UUID ownerID, PrimitiveBaseShape shape, Vector3 groupPosition, | 358 | UUID ownerID, PrimitiveBaseShape shape, Vector3 groupPosition, |
359 | Quaternion rotationOffset, Vector3 offsetPosition) | 359 | Quaternion rotationOffset, Vector3 offsetPosition) |
360 | { | 360 | { |
361 | m_name = "Primitive"; | 361 | m_name = "Object"; |
362 | 362 | ||
363 | Rezzed = DateTime.UtcNow; | 363 | Rezzed = DateTime.UtcNow; |
364 | _creationDate = (int)Utils.DateTimeToUnixTime(Rezzed); | 364 | _creationDate = (int)Utils.DateTimeToUnixTime(Rezzed); |
@@ -1625,7 +1625,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1625 | PrimitiveBaseShape shape = PrimitiveBaseShape.Create(); | 1625 | PrimitiveBaseShape shape = PrimitiveBaseShape.Create(); |
1626 | part.Shape = shape; | 1626 | part.Shape = shape; |
1627 | 1627 | ||
1628 | part.Name = "Primitive"; | 1628 | part.Name = "Object"; |
1629 | part._ownerID = UUID.Random(); | 1629 | part._ownerID = UUID.Random(); |
1630 | 1630 | ||
1631 | return part; | 1631 | return part; |