Merge branch 'master' into careminster-presence-refactor

avinationmerge
Melanie 2010-05-24 23:40:22 +01:00
commit 00737f1c13
3 changed files with 5 additions and 4 deletions

View File

@ -73,5 +73,5 @@ ALTER TABLE assets ADD COLUMN asset_flags INTEGER NOT NULL DEFAULT 0;
:VERSION 8 :VERSION 8
alter table assets add CreatorID varchar(36) not null default '' ALTER TABLE assets ADD COLUMN CreatorID varchar(36) NOT NULL DEFAULT '';

View File

@ -502,8 +502,9 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
group.RootPart.IsAttachment = true; group.RootPart.IsAttachment = true;
} }
// For attachments, we must make sure that only a single object update occurs after we've finished // If we're rezzing an attachment then don't ask AddNewSceneObject() to update the client since
// all the necessary operations. // 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_Scene.AddNewSceneObject(group, true, false);
// m_log.InfoFormat("ray end point for inventory rezz is {0} {1} {2} ", RayEnd.X, RayEnd.Y, RayEnd.Z); // m_log.InfoFormat("ray end point for inventory rezz is {0} {1} {2} ", RayEnd.X, RayEnd.Y, RayEnd.Z);

View File

@ -3466,7 +3466,7 @@ namespace OpenSim.Region.Framework.Scenes
/// <param name="alpha"></param> /// <param name="alpha"></param>
public void SetText(string text, Vector3 color, double alpha) public void SetText(string text, Vector3 color, double alpha)
{ {
Color = Color.FromArgb(0xff - (int) (alpha*0xff), Color = Color.FromArgb((int) (alpha*0xff),
(int) (color.X*0xff), (int) (color.X*0xff),
(int) (color.Y*0xff), (int) (color.Y*0xff),
(int) (color.Z*0xff)); (int) (color.Z*0xff));