minor: expand upon comments about not scheduling two full updates for attachments

soprefactor
Justin Clark-Casey (justincc) 2010-05-24 20:11:06 +01:00
parent 30e94cd075
commit c7c9edd049
1 changed files with 3 additions and 2 deletions

View File

@ -502,8 +502,9 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
group.RootPart.IsAttachment = true;
}
// For attachments, we must make sure that only a single object update occurs after we've finished
// all the necessary operations.
// If we're rezzing an attachment then don't ask AddNewSceneObject() to update the client since
// we'll be doing that later on. Scheduling more than one full update during the attachment
// process causes some clients to fail to display the attachment properly.
m_Scene.AddNewSceneObject(group, true, false);
// m_log.InfoFormat("ray end point for inventory rezz is {0} {1} {2} ", RayEnd.X, RayEnd.Y, RayEnd.Z);