aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-09-07Fix deletion persistence when freshly delinked prims are removedJustin Clark-Casey (justincc)6-42/+58
Previously, Scene.Inventory.DeRezObjects() forced the persistence of prims before deletion. This is necessary so that freshly delinked prims can be deleted (otherwise they remain as parts of their old group and reappear on server restart). However, DeRezObjects() deleted to user inventory, which is not required by llDie() or direct region module unlink and deletion. Therefore, forced persistence has been pushed down into Scene.UnlinkSceneObject() to be more general, this is still on the DeRezObjects() path. Uncommented TestDelinkPersistence() since this now passes. Tests required considerable elaboration of MockRegionDataPlugin to reflect underlying storing of parts.
2010-09-06Add test that checks correct persistence when an unlink is quickly followed ↵Justin Clark-Casey (justincc)1-9/+40
by deletion of a linked part This test is temporarily not running since it currently fails due to a bug in this area
2010-09-06Make console backup command do a forced backup rather than non-forcedJustin Clark-Casey (justincc)2-6/+1
Remove no-arg backup method for simplicity as it only make sense to call non-forced backup internally
2010-09-06extend TestNewSceneObjectLinkPersistence() to check for presence of non-root ↵Justin Clark-Casey (justincc)1-2/+3
linked prim
2010-09-06Add test to check persistence of newly added pre-linked objectsJustin Clark-Casey (justincc)7-21/+78
Added a MockRegionDataPlugin to do in-memory persistence for tests since adding this to OpenSim.Data.Null.NullDataStore doesn't seem appropriate NullDataStore can do nothing because OpenSim only ever retrieve region objects from the database on startup. Adding an in-memory store here would be unecessary overhead.
2010-09-06Reflect the ParcelPropertiesUpdateRequest into Scene.EventManager, becauseMelanie Thielker1-1/+25
modules need to see it (Search!) even if it comes in via CAPS
2010-09-04Logout the presence if client IP verification fails.Diva Canto1-0/+2
2010-09-04Move code that allows llGiveInvetory() to move item into appropriate system ↵Justin Clark-Casey (justincc)1-8/+40
folder up from connectors into Scene.Inventory.cs This fixes the problem for all architectures (hg as well as local and grid) and means we don't have to dupe code between connectors. Not ideal in that it becomes non-modular, but methods in Scene.Inventory.cs should eventually be modularized anyway.
2010-09-04Create Scene.Inventory.cs.AddInventoryItem(InventoryItemBase item)Justin Clark-Casey (justincc)1-8/+27
The agentID in AddInventoryItem(UUID agentID, InventoryItemBase item) is redundant since it's contained in item.Owner, and it doesn't make sense for agentID != item.Owner, hence the method is deprecated.
2010-09-03Fix an issue with rezzing scripted objects.Melanie Thielker1-2/+2
2010-09-02Remove commented code and the comment, as the change has proven outMelanie Thielker1-3/+0
2010-09-02Experimentally comment the sending of unbaked avatarsMelanie Thielker1-1/+3
2010-09-01refactor: move SOG.AttachToAgent() into AttachmentsModuleJustin Clark-Casey (justincc)1-71/+0
2010-08-31Adjust the "Magic numbers" we use because we can't reference the actualMelanie Thielker3-3/+3
script state enum to reflect recent changes.
2010-08-31Add ScenePresence.GetAttachments(uint attachmentPoint)Justin Clark-Casey (justincc)1-0/+21
2010-08-28Improve liveness by operating on list copies of SOG.Children where appropriateJustin Clark-Casey (justincc)5-75/+84
2010-08-26minor: remove mono compiler warningJustin Clark-Casey (justincc)1-3/+4
2010-08-26refactor: Move Scene.Inventory.UpdateKnownItem() into Attachments module ↵Justin Clark-Casey (justincc)1-47/+0
since this appears to relate solely to attachments
2010-08-26refactor: break out attachment position change code in ↵Justin Clark-Casey (justincc)1-24/+13
Scene.UpdatePrimPosition() and move into AttachmentsModule This allows region modules to change attachment positions.
2010-08-26Remove mono compiler warningsJustin Clark-Casey (justincc)7-36/+7
2010-08-26Use SOP.ParentGroup in Prioritizer instead of Scene.GetGroupByPrim()Justin Clark-Casey (justincc)1-2/+16
By the time a scheduled update is triggered, a sog may have been removed from the scene. This change prevents NullReferenceExceptions in these situations.
2010-08-26replace m_parts.Count linknum with 0 in CopyRootPart since m_parts.Count is ↵Justin Clark-Casey (justincc)1-1/+1
always 0 (and any other number would cause an error anyway)
2010-08-26Improve consistency of locking for SOG.m_parts in order to avoid race ↵Justin Clark-Casey (justincc)6-136/+205
conditions in linking and unlinking
2010-08-25Make scene object directories more robust and prevent deleted SOP's fromMelanie Thielker2-18/+29
sticking around
2010-08-25If setting SOG.UUID, update the SOG.m_parts index as well as the root part UUIDJustin Clark-Casey (justincc)1-1/+10
Being able to change a SOG.UUID is useful for region modules that want to supply their own UUID, before the object is rezzed
2010-08-25refactor: Push item retrieval and fixing part of Scene.RezObject() down into ↵Justin Clark-Casey (justincc)2-55/+70
SceneObjectPartInventory
2010-08-24Split out actual scene object insertion code from Scene.Inventory.RezObject ↵Justin Clark-Casey (justincc)3-25/+62
and move into SceneGraph.AddNewSceneObject() The new SceneGraph method is more consumable by region modules that want to extract objects from inventory and add them to the scene in separate stages. This change also reduces the number of redundant client updates scheduled when an object is rezzed directly by a script or region module This code does not touch direct rez by a user
2010-08-24refactor: make RezObject() more readableJustin Clark-Casey (justincc)1-69/+68
2010-08-24add test to check move of task item to user inventory when a target folder ↵Justin Clark-Casey (justincc)1-0/+26
is explicitly given
2010-08-24minor: stop test using obsolete propertyJustin Clark-Casey (justincc)1-1/+1
2010-08-24refactor TestMoveTaskInventoryItemNoParent()Justin Clark-Casey (justincc)1-24/+37
2010-08-24Add automated test at the opensim 'api' level to check that a given item ↵Justin Clark-Casey (justincc)2-1/+105
goes to the correct directory Also removes some mono compiler warnings
2010-08-23minor: some doc for the MoveTaskInventoryItem method in Scene.Inventory.csJustin Clark-Casey (justincc)1-1/+5
2010-08-23Remove various warnings and improve logging messages. No functional changes.Justin Clark-Casey (justincc)1-2/+4
2010-08-20Unit test breakage fix.Diva Canto2-6/+11
2010-08-20Cleaned up a few more things related to incoming agents.Diva Canto1-45/+42
2010-08-20Add some maptile options, change maptile generation from OpenSimBase to SceneMelanie1-9/+54
to make it more configurable.
2010-08-19Finished implementing ViaLogin vs ViaHGLogin. Removed lookup on ↵Diva Canto1-25/+27
myipaddress.com. Also removed client IP verification upon UDP connection that had been left there -- we can't do that in general.
2010-08-19minor: Correct string format in "Can't find linkset root prim" messageJustin Clark-Casey (justincc)1-1/+1
2010-08-13Updated the create_region command in the RemoteAdmin plugin to properly ↵randomhuman1-39/+0
support estates without seeking further input on the console.
2010-08-13refactor: move binary statistics logging from scene into separate region moduleJustin Clark-Casey (justincc)2-110/+12
2010-08-13refactor: move Scene.PerformObjectBuy into BuySellModuleJustin Clark-Casey (justincc)2-160/+1
2010-08-13Establish new Objects/BuySellModuleJustin Clark-Casey (justincc)1-22/+1
Move Scene.ObjectSaleInfo() to this
2010-08-13refactor: move Scene.TerrainUnAcked() handling into TerrainModuleJustin Clark-Casey (justincc)1-8/+0
2010-08-13refactor: remove Scene.SetRootAgentScene() in favour of existing event with ↵Justin Clark-Casey (justincc)2-12/+1
same name
2010-08-13refactor: move more map tile generation code from scene to IWorldMapModuleJustin Clark-Casey (justincc)1-27/+0
2010-08-13refactor: Use SOP.Flags rather than SOP.ObjectFlagsJustin Clark-Casey (justincc)3-12/+12
2010-08-11File wants to be committedDiva Canto1-2/+2
2010-08-10Changing prim color generates event CHANGED_COLOR.Marck1-0/+2
Signed-off-by: Melanie <melanie@t-data.com>
2010-08-10Removed abstract SetText method from EntityBase to make cleaner API.Mikko Pallari3-8/+1
Signed-off-by: Melanie <melanie@t-data.com>