Change the (hackish) constant to match the changed enum for attachs

prebuild-update
Melanie Thielker 2010-08-07 05:42:30 +02:00 committed by Melanie
parent 2cedfba67c
commit 59af886680
1 changed files with 2 additions and 2 deletions

View File

@ -279,8 +279,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
objatt.HasGroupChanged = true; objatt.HasGroupChanged = true;
// Fire after attach, so we don't get messy perms dialogs // Fire after attach, so we don't get messy perms dialogs
// 3 == AttachedRez // 4 == AttachedRez
objatt.CreateScriptInstances(0, true, m_scene.DefaultScriptEngine, 3); objatt.CreateScriptInstances(0, true, m_scene.DefaultScriptEngine, 4);
objatt.ResumeScripts(); objatt.ResumeScripts();
// Do this last so that event listeners have access to all the effects of the attachment // Do this last so that event listeners have access to all the effects of the attachment