aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2010-08-07 05:42:30 +0200
committerMelanie2010-08-07 05:33:41 +0100
commit59af886680d4034e38a1a24a532bb1dd1160516b (patch)
tree0c5862b3b5d1c03a9667fa53bbd5c7147b8845b3 /OpenSim
parentMake the landmark properties work again (diff)
downloadopensim-SC_OLD-59af886680d4034e38a1a24a532bb1dd1160516b.zip
opensim-SC_OLD-59af886680d4034e38a1a24a532bb1dd1160516b.tar.gz
opensim-SC_OLD-59af886680d4034e38a1a24a532bb1dd1160516b.tar.bz2
opensim-SC_OLD-59af886680d4034e38a1a24a532bb1dd1160516b.tar.xz
Change the (hackish) constant to match the changed enum for attachs
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index d895bb1..365cdbb 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -279,8 +279,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
279 objatt.HasGroupChanged = true; 279 objatt.HasGroupChanged = true;
280 280
281 // Fire after attach, so we don't get messy perms dialogs 281 // Fire after attach, so we don't get messy perms dialogs
282 // 3 == AttachedRez 282 // 4 == AttachedRez
283 objatt.CreateScriptInstances(0, true, m_scene.DefaultScriptEngine, 3); 283 objatt.CreateScriptInstances(0, true, m_scene.DefaultScriptEngine, 4);
284 objatt.ResumeScripts(); 284 objatt.ResumeScripts();
285 285
286 // Do this last so that event listeners have access to all the effects of the attachment 286 // Do this last so that event listeners have access to all the effects of the attachment