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/SceneGraph.cs | |
parent | Mantis #2584 (diff) | |
download | opensim-SC_OLD-af5e9147f04cf949045377a4c344b866af2009c7.zip opensim-SC_OLD-af5e9147f04cf949045377a4c344b866af2009c7.tar.gz opensim-SC_OLD-af5e9147f04cf949045377a4c344b866af2009c7.tar.bz2 opensim-SC_OLD-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/SceneGraph.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneGraph.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneGraph.cs b/OpenSim/Region/Environment/Scenes/SceneGraph.cs index da3be08..22e5150 100644 --- a/OpenSim/Region/Environment/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Environment/Scenes/SceneGraph.cs | |||
@@ -472,6 +472,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
472 | objatt.ScheduleGroupForFullUpdate(); | 472 | objatt.ScheduleGroupForFullUpdate(); |
473 | if (tainted) | 473 | if (tainted) |
474 | objatt.HasGroupChanged = true; | 474 | objatt.HasGroupChanged = true; |
475 | |||
476 | // Fire after attach, so we don't get messy perms dialogs | ||
477 | // | ||
478 | objatt.CreateScriptInstances(0, true, m_parentScene.DefaultScriptEngine, 0); | ||
475 | } | 479 | } |
476 | return objatt; | 480 | return objatt; |
477 | } | 481 | } |