diff options
author | Melanie Thielker | 2010-06-29 03:51:16 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-06-29 03:51:16 +0200 |
commit | 6f4d4543b94f28160d697489e591da6614f0c8fc (patch) | |
tree | 50083b56d17b40d45c366e570662ebb4cc9daed0 /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |
parent | Force IM timestamps to current server time to prevent "Saved on" headers (diff) | |
download | opensim-SC_OLD-6f4d4543b94f28160d697489e591da6614f0c8fc.zip opensim-SC_OLD-6f4d4543b94f28160d697489e591da6614f0c8fc.tar.gz opensim-SC_OLD-6f4d4543b94f28160d697489e591da6614f0c8fc.tar.bz2 opensim-SC_OLD-6f4d4543b94f28160d697489e591da6614f0c8fc.tar.xz |
Make newly created prims be named "Object" and make newly created scripts
have a default touch handler. Compatibility patch
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 2 |
1 files changed, 1 insertions, 1 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 | ||