diff options
author | Melanie Thielker | 2008-11-29 14:16:09 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-29 14:16:09 +0000 |
commit | af5e9147f04cf949045377a4c344b866af2009c7 (patch) | |
tree | 2ed85a01b6f895d9b9d2111930d8aac9d099c1fb /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |
parent | Mantis #2584 (diff) | |
download | opensim-SC-af5e9147f04cf949045377a4c344b866af2009c7.zip opensim-SC-af5e9147f04cf949045377a4c344b866af2009c7.tar.gz opensim-SC-af5e9147f04cf949045377a4c344b866af2009c7.tar.bz2 opensim-SC-af5e9147f04cf949045377a4c344b866af2009c7.tar.xz |
Start scripts in attachments only after a successful attach. Elimininate
a gratuitious asset fetch when region crossing.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 113b16c..d1e0c24 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |||
@@ -2088,10 +2088,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
2088 | } | 2088 | } |
2089 | 2089 | ||
2090 | // Fire on_rez | 2090 | // Fire on_rez |
2091 | group.CreateScriptInstances(0, true, DefaultScriptEngine, 0); | ||
2092 | |||
2093 | if (!attachment) | 2091 | if (!attachment) |
2092 | { | ||
2093 | group.CreateScriptInstances(0, true, DefaultScriptEngine, 0); | ||
2094 | rootPart.ScheduleFullUpdate(); | 2094 | rootPart.ScheduleFullUpdate(); |
2095 | } | ||
2095 | 2096 | ||
2096 | if (!Permissions.BypassPermissions()) | 2097 | if (!Permissions.BypassPermissions()) |
2097 | { | 2098 | { |