aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-02-18* minor: comment out a few more [de]serialization sog timing messagesJustin Clarke Casey1-3/+3
2009-02-16* refactor: remove AssetCache field hanging off SceneJustin Clarke Casey1-1/+2
* This is always available at Scene.CommsManager.AssetCache
2009-02-11* minor: remove some mono compiler warningsJustin Clarke Casey1-1/+1
2009-02-10Fixes the problem of attachment offset after crossings/TPs. Hopefully it ↵diva1-0/+4
fixes mantis #3126, as well as other random displacements. The problem was that the new object at the receiving region was being marked as attachment before AttachObject was called. That made its AbsolutePosition be the position of the avie, and that was what was being given to AttachObject.
2009-02-10* minor: Remove SOG XML2 serialization log messages for nowJustin Clarke Casey1-3/+2
2009-02-09Moved prim crossing out of OGS1 and into RESTComms and ↵diva1-1/+28
LocalInterregionComms. This breaks interregion comms with older versions in what concerns prim crossing. In the process of moving the comms, a few things seem to be working better, namely this may address mantis #3011, mantis #1698. Hopefully, this doesn't break anything else. But I'm still seeing weirdnesses with attchments jumping out of place after a cross/TP. The two most notable changes in the crossing process were: * Object gets passed in only one message, not two as done before. * Local object crossings do not get serialized, as done before.
2009-02-09a last set of files that seem to have embedded ^M in themSean Dague1-7/+7
2009-02-08* Once again, fixing linked prim collisions by putting AbsolutePosition = ↵Teravus Ovares1-1/+23
AbsolutePosition; back in the linking routine. Why was it removed? It's critical to the physics scene. * Fixes mantis #3108
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-2/+2
OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
2009-02-04Added a ForceSceneObjectBackup method to Scene, which as it says forces a ↵MW1-2/+2
database backup/update on the SceneObjectGroup. This is now called at the beginning of DeRezObject, so we know the database is upto date before we attempt to delete a object. Fix Mantis #1004 Which happened because Database backups don't happen if a object is still selected, so when you select a part in a link-set and then unlink it and then delete it, all without unselecting the prim at all. The unlink changes never get updated to the database. So then when the call to delete the prim from the database happens, which is called with the SceneObjectId. That SceneObjectId is never found, as the database still has that prim as part of another link set. It is possible that these changes might have to be reverted and for us to find a different method of fixing the problem. If the performance overhead is too high or it causes any other problems.
2009-02-03* Lock the parts for the old group while we're clearing it as well - not ↵Justin Clarke Casey1-2/+6
much point doing one without the other * Shouldn't result in any deadlocks as I don't think there are any locks in the calling code
2009-02-03* Mark the old group after linking as deletedJustin Clarke Casey1-1/+2
* Add unit test assertions to check this
2009-02-03* Now clearing parts list in the old group after a link has occurredJustin Clarke Casey1-7/+3
* Adjusted existing link tests to reflect this and added some new assertions
2009-02-03* Lock parts while they're being duplicated to prevent possible race ↵Justin Clarke Casey1-1/+7
conditions with other parts changers * This shouldn't provoke any deadlocks since the callers aren't taking any other locks beforehand
2009-02-03* minor: remove some pointless assignments in SOG.Copy() that had already ↵Justin Clarke Casey1-14/+2
been done by MemberwiseClone()
2009-02-02* Minor refactoring and comments updateslbsa711-1/+2
* Ignored some gens
2009-01-30Added a new method SendGroupRootUpdate to start addressing mantis #3019. ll ↵diva1-0/+14
functions have not been changed.
2009-01-29* minor: just a few formatting changes and log quieteningJustin Clarke Casey1-1/+5
2009-01-23* minor: remove serialization and deserializationg sog log messages for nowJustin Clarke Casey1-4/+4
2009-01-02Use only one (static) (de-)serializer for (de-)serializing SOPs.Homer Horwitz1-3/+22
That improves performance drastically, at least for Mono, as the (de-)serializers can then be optimized (and won't use reflection anymore). On my system, before this change de-/serialization took ~9s/9s, whereas after the change it takes ~.5/.2s.
2008-12-22Thanks Gerhard for a patch that implements part 3 of VolumeDetection / ↵Dahlia Trimble1-4/+4
persistance
2008-12-22* Fixes edit linked parts rotating the root prim in a linkset. One more ↵Teravus Ovares1-1/+1
bug to go.. and that's editing multiple prim in a linkset at the same time. Don't try that now, as it'll bust the linkset.
2008-12-21* Fixes linking multiple linksets together. They no longer explodeTeravus Ovares1-10/+21
* Not out of the weeds yet. Rotating the root part with 'edit linked parts' still borks all child part rotations and rotating a selection of child parts with 'edit linked parts' still borks the position/rotation of the child parts selected
2008-12-20Mantis#2796. Thank you kindly, Gerhard for a patch that addresses:Charles Krinke1-5/+29
On a call of llVolumeDetect(1) (or any other number !=0) volume detection is enabled. Together with VD, the phantom flag is set to the GUI. On a call of llVolumeDetect(0), vd detection is switched of again, also the phantom state is removed. On a call to llSetState(STATE_PHANTOM, false) while VD is active, also VD is switched off. The same is true for unchecking the phantom flag via GUI. This allows to take back VD without the need to script just by removing the phantom flag. Things missing in this patch: persistance of the volume-detection flag. This needs more discussion and will be included in another patch soon.
2008-12-17* Implement 'Save Object Back to My Inventory'. On the Linden client this ↵Justin Clarke Casey1-2/+11
is in the Tools menu available when editing an object * This facility allows you to save changes to an object that you've rezzed into a region back into their original inventory item without having to take a copy of the rezzed object.
2008-12-14* Implements the torque/Rotational Impulse methods in the PhysicsAPI and the ↵Teravus Ovares1-0/+58
ODEPlugin and pipes them to their respective LSL method. * NBody will need to be updated, this is an API change. Torque property and AddAngularForce
2008-11-29A try to better attachment crossing.Melanie Thielker1-3/+5
2008-11-28* refactor: Replace derez destiation magic numbers with an enumerationJustin Clarke Casey1-2/+2
2008-11-26Committing the LCO database layer. Native MySQL, no ADO. New reconnectMelanie Thielker1-4/+16
mechanism to prevent prim loss. Preserve link order on sim restart and drag copy. Fix drag-copied prims' inventories. Fix persistence of child prim inventories.
2008-11-23Try to keep autoreturn from IM spamming users if the prims take a bitMelanie Thielker1-0/+1
longer to be deleted
2008-11-21Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make allMelanie Thielker1-3/+3
the internals of the permissions module adapter sane
2008-11-21* refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey1-3/+3
* SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life * A proper inventory interface to follow * Parallel changes for other inventory partial classes to follow at a later date
2008-11-21Update svn properties, minor formatting cleanup.Jeff Ames1-4/+3
2008-11-21Fully implement object return from the parcel dialogMelanie Thielker1-1/+1
2008-11-20From: Christopher Yeoh <cyeoh@au1.ibm.com>Sean Dague1-4/+6
Attached is a patch which fixes mantis bug 2645 where scripts in child prims freeze after being unlinked from the root prim. This got introduced some time after the 0.6 freeze. Have checked test suites pass even after nant clean ;-) http://opensimulator.org/mantis/bug_update_page.php?bug_id=2645 Also removes a redundant ResetIDs call Regards, Chris
2008-11-18Prevent a nullref when building new prims while others watchMelanie Thielker1-0/+2
2008-11-17Set group on newly rezzed objects to the rezzer's (or rezzing object's)Melanie Thielker1-0/+1
group
2008-11-17* Make sure that deleted objects do not send further object updates to the ↵Justin Clarke Casey1-0/+6
client
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