aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * refactor: Replace derez destiation magic numbers with an enumerationJustin Clarke Casey2008-11-281-5/+5
|
* * Extend sog delete to inventory test to crank the normally async sog ↵Justin Clarke Casey2008-11-211-1/+5
| | | | | | | | deleter by hand * After the crank, assert that the object has now been removed from the scene
* * Largely revert the last revision and improve on the previous way of doing ↵Justin Clarke Casey2008-11-211-2/+10
| | | | | | | | | | things * Deleting the object before the async to inventory is bad since if OpenSim crashes (or is shutdown!) in the time inbetween, then the object is lost * Also now delete the object from the scene only after it has gone to inventory - in the old way there was still a race condition * This is still not ideal since the 'deleted' object remains in the scene and probably could be manipulated. But this is better than the alternative
* * On delete to inventory, actually remove the group from the scene before ↵Justin Clarke Casey2008-11-211-6/+1
| | | | | | | | | the async stage. * Last time I accidentally left the existing code in place that merely wiped the group from the client (but not the scene) * Put in an incomplete 'delete object o inventory' test to assert that this happens
* Ensure that the physics representation of a deleted object is also removedMelanie Thielker2008-11-191-1/+1
|
* Fix deleting object that have been persisted already from the DBMelanie Thielker2008-11-191-0/+4
|
* * Make sure that deleted objects do not send further object updates to the ↵Justin Clarke Casey2008-11-171-1/+1
| | | | client
* * Eliminate SOG.FakeDeleteGroup() since it is now identical with ↵Justin Clarke Casey2008-11-171-1/+1
| | | | | | | | DeleteGroup() (except that is didn't lock the parts, which was a potential race condition) * Removed fake delete code from LSL_Api.SetFlexi - this code was never activiated anyway and didn't appear to make much sense on the surface
* * minor: eliminate propogation of now unused permissionToDelete flagJustin Clarke Casey2008-11-171-6/+2
|
* * Fix probable partial breakage of delete to inventory in last commitJustin Clarke Casey2008-11-171-11/+9
| | | | | | * Not nulling out parts and the root part allows the code to be simplified
* * Stop nulling SOG.m_rootPart and parts on object deletionJustin Clarke Casey2008-11-171-1/+1
| | | | | | | | | | * This renders RootPart == null checks useless - the replacement is to check SOG.IsDeleted. However, in many cases this will not be necessary since updates to deleted parts will not be sent to the client * This should remove any remaining race conditions where an object is deleted while another thread is yet to obtain the root part to perform some operation * Doing this is probably a necessary prerequisite to moving to a model without a separate SOG and SOP * Unfortunately it's not possible to eliminate all RootPart == null checks since in some contexts it is currently used to check whether an object was created successfully
* * Put an Enabled switch on the async object deleter for future testing purposesJustin Clarke Casey2008-11-111-3/+11
|
* And fix itMelanie Thielker2008-10-221-1/+1
|
* Prevent an object with a null RootPart in delete queue from stoppingMelanie Thielker2008-10-221-4/+13
| | | | | | the deleting of other, valid objects
* Megapatch. :) Fix skull attachment editing. Streamline Object terse updates.Melanie Thielker2008-10-181-9/+8
| | | | | | | | Add rezzing time to objects. Add Object return and traffic fields to land database. Add plumbing for auto return. Implement auto return. Contains a migration. May contain nuts.
* * minor: forgot this small tidy in the last checkinJustin Clarke Casey2008-09-291-2/+1
|
* * minor: tidy up async sog deleterJustin Clarke Casey2008-09-291-19/+18
|
* * refactor: move asynchronous scene object deletion to inventory queueing ↵Justin Clarke Casey2008-09-291-0/+146
out to a separate class