aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-11-17* Eliminate SOG.FakeDeleteGroup() since it is now identical with ↵Justin Clarke Casey1-24/+0
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
2008-11-17* Stop nulling SOG.m_rootPart and parts on object deletionJustin Clarke Casey1-10/+6
* 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
2008-11-16* Abstracted some methods from SceneObjectGroup to allow them to be ↵Adam Frisby1-2/+13
overridden more easily. Specifically object creation from XML.
2008-11-16Introduces the message transfer module. It splits the transfer mechanics offMelanie Thielker1-0/+3
the IM module and makes it into a module of it's own, which can be used by all other modules. Removes some ugly hacks. Refer to the IM module to see how it's used. Also fixes the persistence issue (Mantis #2598)
2008-11-15Mantis #2621: Thanks idb, for a patch that will persist regularily changed ↵Homer Horwitz1-18/+53
objects better. Objects will be persisted now MinimumTimeBeforePersistenceConsidered seconds after the last change, but latest MaximumTimeBeforePersistenceConsidered after the first change (both are configurable in OpenSim.ini.example and are set to 60 and 600 as default).
2008-11-14Detach dropped attachments from the scene presence so they don't get cleanedMelanie Thielker1-0/+5
on logout
2008-11-12* refactor: as per a recent opensim-dev thread, rename InnerScene to ↵Justin Clarke Casey1-3/+3
SceneGraph to make it more descriptive of its intended function
2008-11-10* refactor: clean up SOG xml2 reloading to reuse more codeJustin Clarke Casey1-11/+4
2008-11-10* refactor: Make xml (orig format) loading method reuse existing set root ↵Justin Clarke Casey1-9/+15
part method * miscellaneous doc/log message changes
2008-11-10* minor: remove useless exception catchJustin Clarke Casey1-9/+1
2008-11-10* refactor: Expose SOG.SetRootPart for outsiders to use rather than setting ↵Justin Clarke Casey1-3/+5
RootPart and adding the part separately * Make RootPart read only
2008-11-10* Refactor the callers of SOG.SetPartAsRoot() to use common codeJustin Clarke Casey1-31/+18
2008-11-10* Extend basic scene test to retrieve the object from the scene and match uuidsJustin Clarke Casey1-3/+6
* Decouple sog and sop by removing the need to pass the sog to the sop when it is created - most of the code was doing this operation (and hence duplicating it) anyway * Remove unused constructors
2008-11-10Keep dropped prims from being temp-on-rez and getting cleaned upMelanie Thielker1-0/+1
2008-11-10Stop attachments from causing an update to be sent on every frame in whichMelanie Thielker1-2/+5
an avatar moves.
2008-11-08Remove empty OSUUID.cs file. Add copyright headers. Minor formatting cleanup.Jeff Ames1-1/+1
2008-11-07* Apply http://opensimulator.org/mantis/view.php?id=2582Justin Clarke Casey1-27/+16
* Send prim flags as booleans from LLClientView rather than in the native LL array * Thanks idb
2008-11-07* Fix bug in r7162 where avatars could not moveJustin Clarke Casey1-5/+5
* Was caused by the lack of a local id. Local ids are now given from the same sequence as prims, rather than a separate one * I don't believe this will cause any problems, but please revert to a separate sequence if it does
2008-11-07* Rename PrimIDAllocate() to more effectively convey what it does, and put ↵Justin Clarke Casey1-5/+6
the verb at the front
2008-11-07* Stop requiring local ids in the SOG constructors.Justin Clarke Casey1-5/+11
* These are assigned when the object is attached to the scene
2008-11-07* refactor: stop unnecessary passing of scene to sog copy constructorJustin Clarke Casey1-6/+2
* this is now done in AttachToScene()
2008-11-07* Stop prim attach being signalled twice (it is already been done outside ↵Justin Clarke Casey1-5/+1
AttachToScene())
2008-11-07* Remove more UpdateParentIDs() calls that are now duplicatesJustin Clarke Casey1-6/+2
2008-11-07* Apply http://opensimulator.org/mantis/view.php?id=1883Justin Clarke Casey1-22/+8
* Fix llSetStatus() and llSetPrimitiveParams() * Thanks idb
2008-11-07* Stop now unnecessary separate local id allocation for restored objectsJustin Clarke Casey1-2/+2
* remove a debug line I accidentally left in there
2008-11-07* refactor: allocate local ids to prims only when an object is attached to a ↵Justin Clarke Casey1-13/+29
scene
2008-11-07Attachments, attachments, and, did I say attachments?Melanie Thielker1-20/+40
Too many fixes to list.
2008-11-06* Remove SceneObjectPart.AttachToScene() since the remaining instruction can ↵Justin Clarke Casey1-8/+1
be done by other means
2008-11-06* refactor: Attach a scene object to a scene separately from its constructionJustin Clarke Casey1-18/+31
2008-11-01* Minor cleanupAdam Frisby1-2/+2
* Added additional error message when a Object/SOG DB save fails so we can trace why.
2008-11-01* refactor: Convert most non SOP methods to use SOG.IsAttachment rather than ↵Justin Clarke Casey1-6/+6
SOP.IsAttachment
2008-11-01* Introduce an IsAttachment property on the group level (which just returns ↵Justin Clarke Casey1-0/+20
false if the group is already deleted) * This is to avoid repetitive null checks - I'm beginning to think that blasting away the root part on object deletion is actually a bad move. Perhaps we should leave it around and let the client ignore any superfluous packets (which it may well do anyway), since we're constantly exposing a race condition
2008-11-01* Fix http://opensimulator.org/mantis/view.php?id=2517Justin Clarke Casey1-1/+0
* Don't save attachments on saving oar, which stops them coming back as ghost prims
2008-10-29Minor formatting cleanup.Jeff Ames1-37/+37
2008-10-28From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield1-28/+39
The attached patch fixes the bug where when linking in a new set of prims to an already linked set of objects the prims were placed at the end of the list rather than just after the root prim. ie. link prim order result was different on OpenSim compared to an LL server. This causes a few issues with respect to compatibility of scripts, especially when using llCreateLink.
2008-10-22Thank you both Nlin and M.Igarashi for a patch that:Charles Krinke1-1/+4
Attached patch protects against a NullReferenceException in SceneObjectGroup.stopMoveToTarget (used by LSL function llStopMoveToTarget). Thanks to M. Igarashi.
2008-10-20Mantis #2439Melanie Thielker1-1/+3
MemberwiseClone() also clones the "already backed up" flag, preventing prims created by drag-copying from being persisted. If such a prim is made the root prims of a link set, the entire set will not be persisted. Fixed now.
2008-10-19A small attempt to make persisting prims more reliableMelanie Thielker1-1/+1
2008-10-18Prevent a null root part from stopping objects from being persisted, alsoMelanie Thielker1-0/+7
remove any such objectsd from backup
2008-10-18Guard against a null ref that can prevent objects from being persistedMelanie Thielker1-1/+2
2008-10-18Fix thingd so that autoreturn also works when the user is not in the sim.Melanie Thielker1-1/+1
Also add experimental distance ordering for prims
2008-10-18Megapatch. :) Fix skull attachment editing. Streamline Object terse updates.Melanie Thielker1-32/+40
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.
2008-10-14* minor: Make it clear that non-scheduled updates can happen outside of the ↵Justin Clarke Casey1-3/+0
per frame update heartbeat
2008-10-14* refactor: rename SendKiPrimitive to SendKillObject since this appears more ↵Justin Clarke Casey1-3/+3
descriptive of what it actually does
2008-10-11- Patching a symptom of the failed WP start. We really need to find the reasonHomer Horwitz1-1/+8
for that...
2008-10-06Fix a nullrefMelanie Thielker1-1/+1
2008-10-06Fix a privilege escalation with linked setsMelanie Thielker1-3/+6
2008-10-05Update svn properties, minor formatting cleanup.Jeff Ames1-1/+1
2008-10-04Tiny performance tweakMelanie Thielker1-2/+1
2008-10-04Avoid a gratuitious KillObject storm on region crossingMelanie Thielker1-2/+5