aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneGraph.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-29 14:16:09 +0000
committerMelanie Thielker2008-11-29 14:16:09 +0000
commitaf5e9147f04cf949045377a4c344b866af2009c7 (patch)
tree2ed85a01b6f895d9b9d2111930d8aac9d099c1fb /OpenSim/Region/Environment/Scenes/SceneGraph.cs
parentMantis #2584 (diff)
downloadopensim-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.cs4
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 }