Merge branch '0.7.1-dev' of ssh://opensimulator.org/var/git/opensim into 0.7.1-dev
						commit
						60e4c4e3e2
					
				|  | @ -1,34 +1,36 @@ | |||
| The following people have contributed to OpenSim (Thank you  | ||||
| for your effort!) | ||||
| 
 | ||||
| Add your name in here if you have committed to OpenSim | ||||
| 
 | ||||
| = Current OpenSim Developers (in very rough order of appearance) = | ||||
| These folks represent the current core team for OpenSim, and are the | ||||
| people that make the day to day of OpenSim happen. | ||||
| 
 | ||||
| * justincc | ||||
| * chi11ken (Genkii) | ||||
| * dahlia | ||||
| * Melanie Thielker | ||||
| * Diva (Crista Lopes, University of California, Irvine) | ||||
| * Dan Lake (Intel) | ||||
| * Marck | ||||
| * Mic Bowman (Intel) | ||||
| * BlueWall (James Hughes) | ||||
| 
 | ||||
| = Core Developers Following the White Rabbit = | ||||
| Core developers who have temporarily (we hope) gone chasing the white rabbit.  | ||||
| They are in all similar to the active core developers, except that they haven't | ||||
| been that active lately, so their voting rights are awaiting their come back.  | ||||
| 
 | ||||
| * MW (Tribal Media AB) | ||||
| * Adam Frisby 	(DeepThink Pty Ltd) | ||||
| * MingChen 	(DeepThink Pty Ltd) | ||||
| * lbsa71 (Tribal Media AB) | ||||
| * Sean Dague / sdague (IBM) | ||||
| * Tedd | ||||
| * justincc | ||||
| * Teravus (w3z) | ||||
| * Johan Berntsson (3Di) | ||||
| * Ckrinke (Charles Krinke) | ||||
| * chi11ken (Genkii) | ||||
| * adjohn (Genkii) | ||||
| * Dr Scofield aka Dirk Husemann (IBM Research - Zurich) | ||||
| * dahlia | ||||
| * mikem (3Di) | ||||
| * Melanie Thielker | ||||
| * Homer_Horwitz | ||||
| * idb (Ian Brown) | ||||
| * Diva (Crista Lopes, University of California, Irvine) | ||||
| * nlin (3Di) | ||||
| * Arthur Rodrigo S Valadares (IBM) | ||||
| * BlueWall (James Hughes) | ||||
| * John Hurliman | ||||
| 
 | ||||
| = Past Open Sim Developers = | ||||
| These folks are alumns of the OpenSim core group, but are now | ||||
|  | @ -44,6 +46,12 @@ where we are today. | |||
| * Dalien | ||||
| * Darok | ||||
| * Alondria | ||||
| * Sean Dague / sdague (IBM) | ||||
| * Tedd | ||||
| * MingChen 	(DeepThink Pty Ltd) | ||||
| * adjohn (Genkii) | ||||
| * idb (Ian Brown) | ||||
| * Johan Berntsson (3Di) | ||||
| 
 | ||||
| 
 | ||||
| = Additional OpenSim Contributors = | ||||
|  | @ -102,6 +110,7 @@ what it is today. | |||
| * Misterblue (Intel) | ||||
| * Mircea Kitsune | ||||
| * mpallari | ||||
| * MrMonkE | ||||
| * nornalbion | ||||
| * Omar Vera Ustariz (IBM) | ||||
| * openlifegrid.com | ||||
|  |  | |||
|  | @ -56,15 +56,15 @@ namespace OpenSim.Data.MSSQL | |||
|                 string realm, string storeName) | ||||
|         { | ||||
|             m_Realm = realm; | ||||
|              | ||||
|             m_ConnectionString = connectionString; | ||||
| 
 | ||||
|             if (storeName != String.Empty) | ||||
|             { | ||||
|                 Assembly assem = GetType().Assembly; | ||||
|                 m_ConnectionString = connectionString; | ||||
|                 using (SqlConnection conn = new SqlConnection(m_ConnectionString)) | ||||
|                 { | ||||
|                     conn.Open(); | ||||
|                     Migration m = new Migration(conn, assem, storeName); | ||||
|                     Migration m = new Migration(conn, GetType().Assembly, storeName); | ||||
|                     m.Update(); | ||||
|                 } | ||||
| 
 | ||||
|  |  | |||
|  | @ -61,7 +61,8 @@ namespace OpenSim.Data.MSSQL | |||
|                 } | ||||
|                 catch | ||||
|                 { | ||||
|                     // Something went wrong, so we're version 0 | ||||
|                     // Return -1 to indicate table does not exist | ||||
|                     return -1; | ||||
|                 } | ||||
|             } | ||||
|             return version; | ||||
|  |  | |||
|  | @ -492,12 +492,11 @@ ELSE | |||
|             using (SqlConnection conn = new SqlConnection(m_connectionString)) | ||||
|             using (SqlCommand cmd = new SqlCommand(sql, conn)) | ||||
|             { | ||||
|                 conn.Open(); | ||||
|                 foreach (TaskInventoryItem taskItem in items) | ||||
|                 { | ||||
|                     cmd.Parameters.AddRange(CreatePrimInventoryParameters(taskItem)); | ||||
|                     conn.Open(); | ||||
|                     cmd.ExecuteNonQuery(); | ||||
| 
 | ||||
|                     cmd.Parameters.Clear(); | ||||
|                 } | ||||
|             } | ||||
|  | @ -1154,9 +1153,9 @@ VALUES | |||
|             PrimitiveBaseShape baseShape = new PrimitiveBaseShape(); | ||||
| 
 | ||||
|             baseShape.Scale = new Vector3( | ||||
|                         Convert.ToSingle(shapeRow["ScaleX"]), | ||||
|                         Convert.ToSingle(shapeRow["ScaleY"]), | ||||
|                         Convert.ToSingle(shapeRow["ScaleZ"])); | ||||
|                         (float)Convert.ToDouble(shapeRow["ScaleX"]), | ||||
|                         (float)Convert.ToDouble(shapeRow["ScaleY"]), | ||||
|                         (float)Convert.ToDouble(shapeRow["ScaleZ"])); | ||||
| 
 | ||||
|             // paths | ||||
|             baseShape.PCode = Convert.ToByte(shapeRow["PCode"]); | ||||
|  | @ -1193,8 +1192,11 @@ VALUES | |||
|             { | ||||
|             } | ||||
| 
 | ||||
|             if (!(shapeRow["Media"] is System.DBNull)) | ||||
|             if (!(shapeRow["Media"] is System.DBNull) ) | ||||
|             { | ||||
|                 baseShape.Media = PrimitiveBaseShape.MediaList.FromXml((string)shapeRow["Media"]); | ||||
|             } | ||||
|                  | ||||
| 
 | ||||
|             return baseShape; | ||||
|         } | ||||
|  | @ -1573,7 +1575,16 @@ VALUES | |||
|             parameters.Add(_Database.CreateParameter("Texture", s.TextureEntry)); | ||||
|             parameters.Add(_Database.CreateParameter("ExtraParams", s.ExtraParams)); | ||||
|             parameters.Add(_Database.CreateParameter("State", s.State)); | ||||
|             parameters.Add(_Database.CreateParameter("Media", null == s.Media ? null : s.Media.ToXml())); | ||||
| 
 | ||||
|             if(null == s.Media ) | ||||
|             { | ||||
|                 parameters.Add(_Database.CreateParameter("Media", DBNull.Value));     | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 parameters.Add(_Database.CreateParameter("Media", s.Media.ToXml()));     | ||||
|             } | ||||
|              | ||||
| 
 | ||||
|             return parameters.ToArray(); | ||||
|         } | ||||
|  |  | |||
|  | @ -22,7 +22,11 @@ COMMIT | |||
| 
 | ||||
| BEGIN TRANSACTION | ||||
| 
 | ||||
| INSERT INTO auth (UUID, passwordHash, passwordSalt, webLoginKey, accountType) SELECT [UUID] AS UUID, [passwordHash] AS passwordHash, [passwordSalt] AS passwordSalt, [webLoginKey] AS webLoginKey, 'UserAccount' as [accountType] FROM users; | ||||
| IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[users]') AND type in (N'U')) | ||||
| 	INSERT INTO auth (UUID, passwordHash, passwordSalt, webLoginKey, accountType) SELECT [UUID] AS UUID, [passwordHash] AS passwordHash, [passwordSalt] AS passwordSalt, [webLoginKey] AS webLoginKey, 'UserAccount' as [accountType] FROM users; | ||||
| 
 | ||||
| COMMIT | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| COMMIT | ||||
|  | @ -13,5 +13,28 @@ PRIMARY KEY CLUSTERED | |||
| ) ON [PRIMARY] | ||||
| 
 | ||||
| 
 | ||||
| COMMIT | ||||
| 
 | ||||
| :VERSION 2 | ||||
| 
 | ||||
| BEGIN TRANSACTION | ||||
| 
 | ||||
| CREATE TABLE dbo.Tmp_Avatars | ||||
| 	( | ||||
| 	PrincipalID uniqueidentifier NOT NULL, | ||||
| 	[Name] varchar(32) NOT NULL,  | ||||
| 	Value text NOT NULL DEFAULT '', | ||||
| 	)  ON [PRIMARY] | ||||
| 	 TEXTIMAGE_ON [PRIMARY] | ||||
| 
 | ||||
| IF EXISTS(SELECT * FROM dbo.Avatars) | ||||
| 	 EXEC('INSERT INTO dbo.Tmp_Avatars (PrincipalID, Name, Value) | ||||
| 		SELECT PrincipalID, CONVERT(text, Name), Value FROM dbo.Avatars WITH (HOLDLOCK TABLOCKX)') | ||||
| 
 | ||||
| DROP TABLE dbo.Avatars | ||||
| 
 | ||||
| EXECUTE sp_rename N'dbo.Tmp_Avatars', N'Avatars', 'OBJECT'  | ||||
| 
 | ||||
| COMMIT | ||||
| 
 | ||||
| 
 | ||||
| COMMIT | ||||
|  | @ -15,6 +15,8 @@ COMMIT | |||
| 
 | ||||
| BEGIN TRANSACTION | ||||
| 
 | ||||
| INSERT INTO Friends (PrincipalID, Friend, Flags, Offered) SELECT [ownerID], [friendID], [friendPerms], 0 FROM userfriends; | ||||
| IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[userfriends]') AND type in (N'U')) | ||||
| INSERT INTO Friends (PrincipalID, Friend, Flags, Offered)  | ||||
| SELECT [ownerID], [friendID], [friendPerms], 0 FROM userfriends; | ||||
| 
 | ||||
| COMMIT | ||||
|  | @ -222,4 +222,17 @@ ALTER TABLE [regions] ADD [Token] varchar(255) NOT NULL DEFAULT 0; | |||
| 
 | ||||
| COMMIT | ||||
| 
 | ||||
| :VERSION 8 | ||||
| 
 | ||||
| BEGIN TRANSACTION | ||||
| ALTER TABLE regions ALTER COLUMN regionName VarChar(128)  | ||||
| 
 | ||||
| DROP INDEX IX_regions_name ON dbo.regions | ||||
| ALTER TABLE regions ALTER COLUMN regionName VarChar(128) null | ||||
| 
 | ||||
| CREATE NONCLUSTERED INDEX IX_regions_name ON dbo.regions | ||||
| 	( | ||||
| 	regionName | ||||
| 	) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||||
| 
 | ||||
| COMMIT | ||||
|  | @ -238,7 +238,10 @@ alter table inventoryitems | |||
| 
 | ||||
| COMMIT	 | ||||
|     | ||||
|   | ||||
| 
 | ||||
| 
 | ||||
| :VERSION 8 | ||||
| 
 | ||||
| ALTER TABLE inventoryitems | ||||
| ADD CONSTRAINT DF_inventoryitems_creatorID  | ||||
| DEFAULT '00000000-0000-0000-0000-000000000000' FOR creatorID | ||||
|     | ||||
| :GO | ||||
|  | @ -7,14 +7,7 @@ CREATE TABLE [Presence] ( | |||
| [RegionID] uniqueidentifier NOT NULL,  | ||||
| [SessionID] uniqueidentifier NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000', | ||||
| [SecureSessionID] uniqueidentifier NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000', | ||||
| [Online] char(5) NOT NULL DEFAULT 'false', | ||||
| [Login] char(16) NOT NULL DEFAULT '0', | ||||
| [Logout] char(16) NOT NULL DEFAULT '0', | ||||
| [Position] char(64) NOT NULL DEFAULT '<0,0,0>', | ||||
| [LookAt] char(64) NOT NULL DEFAULT '<0,0,0>', | ||||
| [HomeRegionID] uniqueidentifier NOT NULL, | ||||
| [HomePosition] CHAR(64) NOT NULL DEFAULT '<0,0,0>', | ||||
| [HomeLookAt] CHAR(64) NOT NULL DEFAULT '<0,0,0>', | ||||
| 
 | ||||
| ) | ||||
|  ON [PRIMARY] | ||||
| 
 | ||||
|  | @ -27,4 +20,12 @@ BEGIN TRANSACTION | |||
| CREATE UNIQUE INDEX SessionID ON Presence(SessionID); | ||||
| CREATE INDEX UserID ON Presence(UserID); | ||||
| 
 | ||||
| COMMIT | ||||
| 
 | ||||
| :VERSION 2 | ||||
| 
 | ||||
| BEGIN TRANSACTION | ||||
| 
 | ||||
| ALTER TABLE Presence ADD LastSeen DateTime | ||||
| 
 | ||||
| COMMIT | ||||
|  | @ -1,4 +1,3 @@ | |||
| 
 | ||||
| :VERSION 1 | ||||
| 
 | ||||
| CREATE TABLE [dbo].[prims]( | ||||
|  | @ -926,11 +925,121 @@ ALTER TABLE regionsettings ADD loaded_creation_datetime int NOT NULL default 0 | |||
| COMMIT | ||||
| 
 | ||||
| :VERSION 24 | ||||
| -- Added post 0.7 | ||||
| 
 | ||||
| BEGIN TRANSACTION | ||||
| 
 | ||||
| ALTER TABLE prims ADD COLUMN MediaURL varchar(255) | ||||
| ALTER TABLE primshapes ADD COLUMN Media TEXT | ||||
| ALTER TABLE prims ADD  MediaURL varchar(255) | ||||
| ALTER TABLE primshapes ADD Media TEXT NULL | ||||
| 
 | ||||
| COMMIT | ||||
| COMMIT | ||||
| 
 | ||||
| :VERSION 25 | ||||
| 
 | ||||
| BEGIN TRANSACTION | ||||
| CREATE TABLE "regionwindlight" ( | ||||
|   "region_id" varchar(36) NOT NULL DEFAULT '000000-0000-0000-0000-000000000000', | ||||
|   "water_color_r" [float] NOT NULL DEFAULT '4.000000', | ||||
|   "water_color_g" [float] NOT NULL DEFAULT '38.000000', | ||||
|   "water_color_b" [float] NOT NULL DEFAULT '64.000000', | ||||
|   "water_fog_density_exponent" [float] NOT NULL DEFAULT '4.0', | ||||
|   "underwater_fog_modifier" [float] NOT NULL DEFAULT '0.25', | ||||
|   "reflection_wavelet_scale_1" [float] NOT NULL DEFAULT '2.0', | ||||
|   "reflection_wavelet_scale_2" [float] NOT NULL DEFAULT '2.0', | ||||
|   "reflection_wavelet_scale_3" [float] NOT NULL DEFAULT '2.0', | ||||
|   "fresnel_scale" [float] NOT NULL DEFAULT '0.40', | ||||
|   "fresnel_offset" [float] NOT NULL DEFAULT '0.50', | ||||
|   "refract_scale_above" [float] NOT NULL DEFAULT '0.03', | ||||
|   "refract_scale_below" [float] NOT NULL DEFAULT '0.20', | ||||
|   "blur_multiplier" [float] NOT NULL DEFAULT '0.040', | ||||
|   "big_wave_direction_x" [float] NOT NULL DEFAULT '1.05', | ||||
|   "big_wave_direction_y" [float] NOT NULL DEFAULT '-0.42', | ||||
|   "little_wave_direction_x" [float] NOT NULL DEFAULT '1.11', | ||||
|   "little_wave_direction_y" [float] NOT NULL DEFAULT '-1.16', | ||||
|   "normal_map_texture" varchar(36) NOT NULL DEFAULT '822ded49-9a6c-f61c-cb89-6df54f42cdf4', | ||||
|   "horizon_r" [float] NOT NULL DEFAULT '0.25', | ||||
|   "horizon_g" [float] NOT NULL DEFAULT '0.25', | ||||
|   "horizon_b" [float] NOT NULL DEFAULT '0.32', | ||||
|   "horizon_i" [float] NOT NULL DEFAULT '0.32', | ||||
|   "haze_horizon" [float] NOT NULL DEFAULT '0.19', | ||||
|   "blue_density_r" [float] NOT NULL DEFAULT '0.12', | ||||
|   "blue_density_g" [float] NOT NULL DEFAULT '0.22', | ||||
|   "blue_density_b" [float] NOT NULL DEFAULT '0.38', | ||||
|   "blue_density_i" [float] NOT NULL DEFAULT '0.38', | ||||
|   "haze_density" [float] NOT NULL DEFAULT '0.70', | ||||
|   "density_multiplier" [float] NOT NULL DEFAULT '0.18', | ||||
|   "distance_multiplier" [float] NOT NULL DEFAULT '0.8', | ||||
|   "max_altitude" int NOT NULL DEFAULT '1605', | ||||
|   "sun_moon_color_r" [float] NOT NULL DEFAULT '0.24', | ||||
|   "sun_moon_color_g" [float] NOT NULL DEFAULT '0.26', | ||||
|   "sun_moon_color_b" [float] NOT NULL DEFAULT '0.30', | ||||
|   "sun_moon_color_i" [float] NOT NULL DEFAULT '0.30', | ||||
|   "sun_moon_position" [float] NOT NULL DEFAULT '0.317', | ||||
|   "ambient_r" [float] NOT NULL DEFAULT '0.35', | ||||
|   "ambient_g" [float] NOT NULL DEFAULT '0.35', | ||||
|   "ambient_b" [float] NOT NULL DEFAULT '0.35', | ||||
|   "ambient_i" [float] NOT NULL DEFAULT '0.35', | ||||
|   "east_angle" [float] NOT NULL DEFAULT '0.00', | ||||
|   "sun_glow_focus" [float] NOT NULL DEFAULT '0.10', | ||||
|   "sun_glow_size" [float] NOT NULL DEFAULT '1.75', | ||||
|   "scene_gamma" [float] NOT NULL DEFAULT '1.00', | ||||
|   "star_brightness" [float] NOT NULL DEFAULT '0.00', | ||||
|   "cloud_color_r" [float] NOT NULL DEFAULT '0.41', | ||||
|   "cloud_color_g" [float] NOT NULL DEFAULT '0.41', | ||||
|   "cloud_color_b" [float] NOT NULL DEFAULT '0.41', | ||||
|   "cloud_color_i" [float] NOT NULL DEFAULT '0.41', | ||||
|   "cloud_x" [float] NOT NULL DEFAULT '1.00', | ||||
|   "cloud_y" [float] NOT NULL DEFAULT '0.53', | ||||
|   "cloud_density" [float] NOT NULL DEFAULT '1.00', | ||||
|   "cloud_coverage" [float] NOT NULL DEFAULT '0.27', | ||||
|   "cloud_scale" [float] NOT NULL DEFAULT '0.42', | ||||
|   "cloud_detail_x" [float] NOT NULL DEFAULT '1.00', | ||||
|   "cloud_detail_y" [float] NOT NULL DEFAULT '0.53', | ||||
|   "cloud_detail_density" [float] NOT NULL DEFAULT '0.12', | ||||
|   "cloud_scroll_x" [float] NOT NULL DEFAULT '0.20', | ||||
|   "cloud_scroll_x_lock" tinyint NOT NULL DEFAULT '0', | ||||
|   "cloud_scroll_y" [float] NOT NULL DEFAULT '0.01', | ||||
|   "cloud_scroll_y_lock" tinyint NOT NULL DEFAULT '0', | ||||
|   "draw_classic_clouds" tinyint NOT NULL DEFAULT '1', | ||||
|   PRIMARY KEY ("region_id") | ||||
| ) | ||||
| 
 | ||||
| COMMIT TRANSACTION | ||||
| 
 | ||||
| :VERSION 26 | ||||
| 
 | ||||
| BEGIN TRANSACTION | ||||
| 
 | ||||
| ALTER TABLE regionsettings ADD map_tile_ID CHAR(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000' | ||||
| 
 | ||||
| COMMIT | ||||
| 
 | ||||
| :VERSION 27         #--------------------- | ||||
| 
 | ||||
| BEGIN TRANSACTION | ||||
| ALTER TABLE land ADD MediaType VARCHAR(32) NOT NULL DEFAULT 'none/none'  | ||||
| ALTER TABLE land ADD MediaDescription VARCHAR(255) NOT NULL DEFAULT '' | ||||
| ALTER TABLE land ADD MediaSize VARCHAR(16) NOT NULL DEFAULT '0,0' | ||||
| ALTER TABLE land ADD MediaLoop bit NOT NULL DEFAULT 0 | ||||
| ALTER TABLE land ADD ObscureMusic bit NOT NULL DEFAULT 0 | ||||
| ALTER TABLE land ADD ObscureMedia bit NOT NULL DEFAULT 0 | ||||
| COMMIT | ||||
| 
 | ||||
| :VERSION 28         #--------------------- | ||||
| 
 | ||||
| BEGIN TRANSACTION | ||||
| 
 | ||||
| ALTER TABLE prims  | ||||
| ADD CONSTRAINT DF_prims_CreatorID  | ||||
| DEFAULT '00000000-0000-0000-0000-000000000000'  | ||||
| FOR CreatorID | ||||
| 
 | ||||
| ALTER TABLE prims  ALTER COLUMN CreatorID uniqueidentifier NOT NULL | ||||
| 
 | ||||
| ALTER TABLE primitems | ||||
| ADD CONSTRAINT DF_primitems_CreatorID  | ||||
| DEFAULT '00000000-0000-0000-0000-000000000000'  | ||||
| FOR CreatorID | ||||
| 
 | ||||
| ALTER TABLE primitems ALTER COLUMN CreatorID uniqueidentifier NOT NULL | ||||
| 
 | ||||
| COMMIT | ||||
|  |  | |||
|  | @ -19,7 +19,7 @@ CREATE TABLE [UserAccounts] ( | |||
| :VERSION 2 | ||||
| 
 | ||||
| BEGIN TRANSACTION | ||||
| 
 | ||||
| IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[users]') AND type in (N'U')) | ||||
| INSERT INTO UserAccounts (PrincipalID, ScopeID, FirstName, LastName, Email, ServiceURLs, Created) SELECT [UUID] AS PrincipalID, '00000000-0000-0000-0000-000000000000' AS ScopeID,  | ||||
| username AS FirstName,  | ||||
| lastname AS LastName,  | ||||
|  |  | |||
|  | @ -41,8 +41,7 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction | |||
|     /// </summary> | ||||
|     public class AgentAssetTransactions | ||||
|     { | ||||
| //        private static readonly ILog m_log = LogManager.GetLogger( | ||||
| //                MethodBase.GetCurrentMethod().DeclaringType); | ||||
| //        private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||||
| 
 | ||||
|         // Fields | ||||
|         private bool m_dumpAssetsToFile; | ||||
|  | @ -149,6 +148,10 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction | |||
| 
 | ||||
|                 if (asset != null) | ||||
|                 { | ||||
| //                    m_log.DebugFormat( | ||||
| //                        "[AGENT ASSETS TRANSACTIONS]: Updating item {0} in {1} for transaction {2}",  | ||||
| //                        item.Name, part.Name, transactionID); | ||||
|                      | ||||
|                     asset.FullID = UUID.Random(); | ||||
|                     asset.Name = item.Name; | ||||
|                     asset.Description = item.Description; | ||||
|  | @ -156,8 +159,6 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction | |||
|                     item.AssetID = asset.FullID; | ||||
| 
 | ||||
|                     m_Scene.AssetService.Store(asset); | ||||
| 
 | ||||
|                     part.Inventory.UpdateInventoryItem(item); | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|  |  | |||
|  | @ -1430,6 +1430,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
|                 } | ||||
|                 else // Updating existing item with new perms etc | ||||
|                 { | ||||
| //                    m_log.DebugFormat( | ||||
| //                        "[PRIM INVENTORY]: Updating item {0} in {1} for UpdateTaskInventory()",  | ||||
| //                        currentItem.Name, part.Name); | ||||
|                      | ||||
|                     IAgentAssetTransactions agentTransactions = this.RequestModuleInterface<IAgentAssetTransactions>(); | ||||
|                     if (agentTransactions != null) | ||||
|                     { | ||||
|  | @ -2039,6 +2043,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
|             if (rot != null) | ||||
|                 group.UpdateGroupRotationR((Quaternion)rot); | ||||
|              | ||||
|             // TODO: This needs to be refactored with the similar code in  | ||||
|             // SceneGraph.AddNewSceneObject(SceneObjectGroup sceneObject, bool attachToBackup, Vector3 pos, Quaternion rot, Vector3 vel) | ||||
|             // possibly by allowing this method to take a null rotation. | ||||
|             if (group.RootPart.PhysActor != null && group.RootPart.PhysActor.IsPhysical && vel != Vector3.Zero) | ||||
|                 group.RootPart.ApplyImpulse((vel * group.GetMass()), false); | ||||
|              | ||||
|             // We can only call this after adding the scene object, since the scene object references the scene | ||||
|             // to find out if scripts should be activated at all. | ||||
|             group.CreateScriptInstances(param, true, DefaultScriptEngine, 3); | ||||
|  |  | |||
|  | @ -693,8 +693,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
|         { | ||||
|             TaskInventoryItem it = GetInventoryItem(item.ItemID); | ||||
|             if (it != null) | ||||
| 
 | ||||
|             { | ||||
| //                m_log.DebugFormat("[PRIM INVENTORY]: Updating item {0} in {1}", item.Name, m_part.Name); | ||||
|                  | ||||
|                 item.ParentID = m_part.UUID; | ||||
|                 item.ParentPartID = m_part.UUID; | ||||
| 
 | ||||
|  | @ -711,14 +712,16 @@ namespace OpenSim.Region.Framework.Scenes | |||
|                     m_items[item.ItemID] = item; | ||||
|                     m_inventorySerial++; | ||||
|                 } | ||||
| 
 | ||||
|                  | ||||
|                 if (fireScriptEvents) | ||||
|                     m_part.TriggerScriptChangedEvent(Changed.INVENTORY); | ||||
|                  | ||||
|                 if (considerChanged) | ||||
|                 { | ||||
|                     HasInventoryChanged = true; | ||||
|                     m_part.ParentGroup.HasGroupChanged = true; | ||||
|                 } | ||||
|                  | ||||
|                 return true; | ||||
|             } | ||||
|             else | ||||
|  |  | |||
|  | @ -37,7 +37,7 @@ Now see the "Configuring OpenSim" section | |||
| === Running OpenSim on Linux === | ||||
| ================================ | ||||
| 
 | ||||
| You will need Mono >= 2.4.2 to run OpenSim.  On some Linux distributions you | ||||
| You will need Mono >= 2.4.3 to run OpenSim.  On some Linux distributions you | ||||
| may need to install additional packages.  See http://opensimulator.org/wiki/Dependencies | ||||
| for more information. | ||||
| 
 | ||||
|  |  | |||
|  | @ -626,7 +626,7 @@ | |||
|     ; LocalServiceModule = OpenSim.Services.Connectors.dll:RemoteFreeswitchConnector | ||||
| 
 | ||||
|     ;; If using a remote connector, specify the server URL | ||||
|     ; FreeswitchServiceURL = http://my.grid.server:8003/fsapi | ||||
|     ; FreeswitchServiceURL = http://my.grid.server:8004/fsapi | ||||
| 
 | ||||
| 
 | ||||
| [FreeswitchService] | ||||
|  |  | |||
|  | @ -21,7 +21,7 @@ | |||
| ; * [[<ConfigName>@]<port>/]<dll name>[:<class name>] | ||||
| ; * | ||||
| [Startup] | ||||
| ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003/OpenSim.Server.Handlers.dll:XInventoryInConnector,8002/OpenSim.Server.Handlers.dll:FreeswitchServerConnector,8003/OpenSim.Server.Handlers.dll:GridServiceConnector,8002/OpenSim.Server.Handlers.dll:GridInfoServerInConnector,8003/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector,8002/OpenSim.Server.Handlers.dll:OpenIdServerConnector,8003/OpenSim.Server.Handlers.dll:AvatarServiceConnector,8002/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector,8003/OpenSim.Server.Handlers.dll:PresenceServiceConnector,8003/OpenSim.Server.Handlers.dll:UserAccountServiceConnector,8003/OpenSim.Server.Handlers.dll:GridUserServiceConnector,8003/OpenSim.Server.Handlers.dll:FriendsServiceConnector,8002/OpenSim.Server.Handlers.dll:GatekeeperServiceInConnector,8002/OpenSim.Server.Handlers.dll:UserAgentServerConnector,HGInventoryService@8002/OpenSim.Server.Handlers.dll:XInventoryInConnector,HGAssetService@8002/OpenSim.Server.Handlers.dll:AssetServiceConnector,8002/OpenSim.Server.Handlers.dll:HeloServiceInConnector" | ||||
| ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003/OpenSim.Server.Handlers.dll:XInventoryInConnector,8004/OpenSim.Server.Handlers.dll:FreeswitchServerConnector,8003/OpenSim.Server.Handlers.dll:GridServiceConnector,8002/OpenSim.Server.Handlers.dll:GridInfoServerInConnector,8003/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector,8002/OpenSim.Server.Handlers.dll:OpenIdServerConnector,8003/OpenSim.Server.Handlers.dll:AvatarServiceConnector,8002/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector,8003/OpenSim.Server.Handlers.dll:PresenceServiceConnector,8003/OpenSim.Server.Handlers.dll:UserAccountServiceConnector,8003/OpenSim.Server.Handlers.dll:GridUserServiceConnector,8003/OpenSim.Server.Handlers.dll:FriendsServiceConnector,8002/OpenSim.Server.Handlers.dll:GatekeeperServiceInConnector,8002/OpenSim.Server.Handlers.dll:UserAgentServerConnector,HGInventoryService@8002/OpenSim.Server.Handlers.dll:XInventoryInConnector,HGAssetService@8002/OpenSim.Server.Handlers.dll:AssetServiceConnector,8002/OpenSim.Server.Handlers.dll:HeloServiceInConnector" | ||||
| 
 | ||||
| ; * This is common for all services, it's the network setup for the entire | ||||
| ; * server instance, if none is specified above | ||||
|  |  | |||
|  | @ -13,7 +13,7 @@ | |||
| ; * [[<ConfigName>@]<port>/]<dll name>[:<class name>] | ||||
| ; * | ||||
| [Startup] | ||||
| ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003/OpenSim.Server.Handlers.dll:XInventoryInConnector,8002/OpenSim.Server.Handlers.dll:FreeswitchServerConnector,8003/OpenSim.Server.Handlers.dll:GridServiceConnector,8002/OpenSim.Server.Handlers.dll:GridInfoServerInConnector,8003/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector,8002/OpenSim.Server.Handlers.dll:OpenIdServerConnector,8003/OpenSim.Server.Handlers.dll:AvatarServiceConnector,8002/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector,8003/OpenSim.Server.Handlers.dll:PresenceServiceConnector,8003/OpenSim.Server.Handlers.dll:UserAccountServiceConnector,8003/OpenSim.Server.Handlers.dll:GridUserServiceConnector,8003/OpenSim.Server.Handlers.dll:FriendsServiceConnector" | ||||
| ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003/OpenSim.Server.Handlers.dll:XInventoryInConnector,8004/OpenSim.Server.Handlers.dll:FreeswitchServerConnector,8003/OpenSim.Server.Handlers.dll:GridServiceConnector,8002/OpenSim.Server.Handlers.dll:GridInfoServerInConnector,8003/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector,8002/OpenSim.Server.Handlers.dll:OpenIdServerConnector,8003/OpenSim.Server.Handlers.dll:AvatarServiceConnector,8002/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector,8003/OpenSim.Server.Handlers.dll:PresenceServiceConnector,8003/OpenSim.Server.Handlers.dll:UserAccountServiceConnector,8003/OpenSim.Server.Handlers.dll:GridUserServiceConnector,8003/OpenSim.Server.Handlers.dll:FriendsServiceConnector" | ||||
| 
 | ||||
| ; * This is common for all services, it's the network setup for the entire | ||||
| ; * server instance, if none is specified above | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Diva Canto
						Diva Canto