aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Serialization (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When saving an OAR in "Publish" mode, also discard Group informationOren Hurvitz2014-05-261-3/+10
|
* Better skipping of "SculptData" when parsing XMLOren Hurvitz2014-03-281-7/+1
|
* Removed "SculptData" from the serialized XML format of primsOren Hurvitz2014-03-281-11/+3
|
* Fixed parsing of coalesced objects if the XML starts with an XML Declaration ↵Oren Hurvitz2014-03-241-44/+45
| | | | | | ("<xml ...>") Resolves http://opensimulator.org/mantis/view.php?id=6944
* Refactored Load IAR: created a generic mechanism to modify the SOG's as they ↵Oren Hurvitz2014-03-241-0/+67
| | | | | | are being loaded Resolves http://opensimulator.org/mantis/view.php?id=6942
* Refactored: ExternalRepresentationUtils should be the only place where the ↵Oren Hurvitz2014-03-241-2/+2
| | | | | | "CreatorData" field is calculated, to ensure uniformity Resolves http://opensimulator.org/mantis/view.php?id=6933
* refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)2013-11-151-2/+2
| | | | Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
* Preserve attachment point & position when attachment is rezzed in worldAleric Inglewood2013-09-221-0/+14
| | | | | | | | | | Patch taken from http://opensimulator.org/mantis/view.php?id=4905 originally by Greg C. Fixed to apply to r/23314 commit ba9daf849e7c8db48e7c03e7cdedb77776b2052f (cherry picked from commit 4ff9fbca441110cc2b93edc7286e0e9339e61cbe)
* Make the concept of namespaces explicit in dynamic attributesJustin Clark-Casey (justincc)2013-06-271-1/+1
| | | | | | | | This is in order to reduce the likelihood of naming clashes, make it easier to filter in/out attributes, ensure uniformity, etc. All dynattrs in the opensim distro itself or likely future ones should be in the "OpenSim" namespace. This does alter the underlying dynattrs data structure. All data in previous structures may not be available, though old structures should not cause errors. This is done without notice since this feature has been explicitly labelled as experimental, subject to change and has not been in a release. However, existing materials data is being preserved by moving it to the "Materials" store in the "OpenSim" namespace.
* Hook up Keyframe motion to almost everything. Failing to cross a sim borderMelanie2013-06-061-0/+16
| | | | may yield unexpected results in some cases. No database persistence yet,
* If a component of a coalesced object fails to deserialization, do not add a ↵Justin Clark-Casey (justincc)2013-02-081-4/+18
| | | | | | | null where the object should be. This prevents a later load IAR failure. This code is currently only used by IAR loading.
* Rename "Bounciness" to "Restitution"Melanie2013-02-071-3/+3
|
* Partial port of Avination's support for the new physics parameters.Melanie2013-02-061-0/+43
| | | | | | | | Implements the parameters as properties, the serialization and database storage (MySQL only). Implements llSetPrimitiveParams for prim physics shape and the other 4 extra params. Only the prim shape type "None" is currently functional. No support for the Viewer UI (yet), that will be ported in due course. Lots more to port, this is a large-ish changeset.
* Added DynAttrs to the serialized XML format of prims. When copying prims, ↵Oren Hurvitz2013-01-251-0/+14
| | | | use deep copy for DynAttrs.
* Change attachment handling to remove object from the scene first as perMelanie2012-07-231-0/+18
| | | | | | justincc's original work. Sample scripts before doing so. Also refactor some crucial common code and eliminate parameters that were only ever used with the same constant value.
* Fix bug where an avatar that had an object they owned attached through ↵Justin Clark-Casey (justincc)2012-05-231-2/+18
| | | | | | | llAttachToAvatar() or osForceAttachToAvatar() would wrongly have next permissions come into play when they detached that object and rezzed it in scene. This is because the attachments module code was setting the 'object slam' bit by using PermissionMask.All Solution here is to route the attachment item creation call through the existing inventory code in BasicInventoryAccessModule rather than copy/pasted code in AttachmentsModule itself.
* Route OAR SOG loading through the common ↵Justin Clark-Casey (justincc)2012-05-162-113/+4
| | | | | | SceneObjectSerializer.FromXml2Format() rather than the functionally identical but buggy Xml2ToSOG(). Remove buggy Xml2ToSOG().
* Port Avination's collision fixes to core.Melanie2012-05-151-0/+7
|
* If shape properties fail SOP parsing (e.g. due to commas instead of decimal ↵Justin Clark-Casey (justincc)2012-02-161-12/+22
| | | | | | points) print out one short message listing the failing node names rather than lots of exceptions. Adds skeleton bad float values deserialization test
* On object deserialization, go back to logging errors at DEBUG level rather ↵Justin Clark-Casey (justincc)2012-02-131-5/+9
| | | | | | | | than ERROR. Restore extra log message if shape processing fails. Logging level was DEBUG before 312e145 (Fri Feb 3 2012). 312e145 also accidentally removed the 'general error' log message if any shape deserialization failed. This commit restores it, though this has no functional impact.
* Change SceneObjectSerializer to use common ↵Justin Clark-Casey (justincc)2012-02-031-74/+29
| | | | | | ExternalRepresentationUtils.ExecuteReadProcessors() methods. Adds ability to submit a customized exception message to match logging.
* Improve reliability of script state saving by covering various savingMelanie2012-02-021-4/+1
| | | | and loading scenarios which resulted in loss of continuity on item ids
* Add experimental --publish option to "save oar" so that OARs reloaded to the ↵Justin Clark-Casey (justincc)2012-01-281-5/+15
| | | | same grid don't have the publisher as owner.
* HG: normalize all externalized user ULRs to be the Home URL, i.e. the ↵Diva Canto2012-01-121-4/+4
| | | | location of the user's UAS. This corrects an earlier design which had some cases pointing to the profile server. WARNING: CONFIGURATION CHANGES in both the sims (*Common.ini) and the Robust configs (Robust.HG.ini). Please check diff of the example files, but basically all vars that were pointing to profile should point to the UAS instead and should be called HomeURI.
* If deserializing a scene object fails during IAR load then ignore the object ↵Justin Clark-Casey (justincc)2012-01-111-1/+1
| | | | rather than halting the IAR load with an exception.
* Access to these static methods to serialize objects are useful outside of ↵Dan Lake2012-01-031-4/+4
| | | | serializer
* Changes UpdateFlag in SOP to an enumeration of NONE, TERSE and FULL.Dan Lake2011-11-021-7/+0
| | | | | | | | | | | | | | | | | UpdateFlag is now referenced/used only within SOP and SOG. Outsiders are using ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule on SOP consistently now. Also started working toward eliminating those calls to ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule from outside SOP in favor of just setting properties on SOP and let SOP decide if an update should be scheduled. This consolidates the update policy within SOP and the client rather than everywhere that makes changes to SOP. Some places forget to call update while others call it multiple times, "just to be sure". UpdateFlag and Schedule*Update will both be made private shortly. UpdateFlag is intended to be transient and internal to SOP so it has been removed from XML serializer for SOPs.
* stop passing FromUserInventoryItemID right down into the deserializer.Justin Clark-Casey (justincc)2011-09-021-13/+3
| | | | the code becomes simpler if this is set from the outside - only one place needs to do this.
* Fix llAttachToAvatar()Justin Clark-Casey (justincc)2011-08-241-9/+22
| | | | | | Apart from one obvious bug, this was failing because attempting to serialize the script from inside the script (as part of saving the attachment as an inventory asset) was triggering an extremely long delay. So we now don't do this. The state will be serialized anyway when the avatar normally logs out. The worst that can happen is that if the client/server crashes, the attachment scripts start without previous state.
* remove undo state storage in a few places where it's pointlessJustin Clark-Casey (justincc)2011-07-191-3/+1
| | | | no functional effect - existing bugs still remain
* minor: code tidy and inserted log lines for future use.Justin Clark-Casey (justincc)2011-07-091-0/+2
| | | | | | | | Unable to get to the bottom of why resizing a mesh fails to properly reset the physics proxy, when toggling phantom does After a mesh is generated, the existing sculptdata is set to zero in PrimitiveBaseShape to save memory When phantom is toggled, the sculptdata is regenerated before remeshing. But on resize, the sculptdata is not regenerated. So clearly, resetting sculptdata is possible, but haven't quite been able to pin down how this is being done when phantom is toggled.
* When serializing objects, stop accidentally using the green text colour ↵Justin Clark-Casey (justincc)2011-06-101-1/+1
| | | | | | value for alpha This addresses http://opensimulator.org/mantis/view.php?id=5111
* Make sure culture is en-US when saving archive related xml.Justin Clark-Casey (justincc)2011-05-271-1/+0
| | | | This might resolve http://opensimulator.org/mantis/view.php?id=5475
* If parsing fails in the primitive base shape (which prints out a debug log ↵Justin Clark-Casey (justincc)2011-05-271-4/+25
| | | | | | message), also print out the name and uuid of the part containing this shape. This is to help in diagnosing parsing failures.
* Add PayPrice to serialization format Xml2Melanie2011-05-251-1/+36
|
* Alter uuid gather so that it properly analyzes coalesced objects.Justin Clark-Casey (justincc)2011-04-211-18/+29
| | | | This should correct save all the assets required for the items within the coalesced objects in an IAR. This should also correctly gather the items on hypergrid takes.
* Make all the objects in a coalescence reappears after being loaded from an ↵Justin Clark-Casey (justincc)2011-04-151-6/+41
| | | | | | | IAR. This still doesn't work proprerly since some required textures/contained item assets might be missing. From pure code inspection, it looks like the uuid gatherer may get most asset uuids because the scene object serializer naively pulls non-root parts from all contained scene objects into one mega-object. However, root part uuids may well still be missing, and there may be other odd artifacts from this bug. It appears that storing the size of the coalescence and the offsets is redundant, since one can work out this information from the position data already in the scene object groups.
* refactor: move code to obtain the coalescence size and object offsets into ↵Justin Clark-Casey (justincc)2011-04-131-15/+12
| | | | CoalescedSceneObjects from the serializer.
* Add coalesced scene objects class and serializer. This is currently only ↵Justin Clark-Casey (justincc)2011-04-132-3/+137
| | | | | | | | | used by the TestRezCoalescedObject() regression test. This structure matches the existing one for SceneObjects and will allow code to be reused by the uuid gatherer, other tests, etc. Test is not yet fully implemented due to a bug in rezzing coalesced objects where they all get the same name as the item. Only one object should get the same name as the item, which appears to be the one selected last when the the objects were coalesced in the first place. This bug will be addressed shortly.
* Bug fix in object serialization -- sculpt data was wrong.Diva Canto2011-04-121-1/+1
|
* Fixes the issue of hung archives. Problem was with SceneObjectSerializer.Diva Canto2011-01-081-0/+12
| | | | Also fixes a buglet in scene load xml command, where it was given the wrong argument index for filename.
* remove mono compiler warning: if (sop.Color != null) always returns true as ↵Justin Clark-Casey (justincc)2010-12-171-9/+7
| | | | sop.Color is a value type.
* Preservation of creator information now also working in IARs. Cleaned up ↵Diva Canto2010-11-291-31/+11
| | | | usage help. Moved Osp around, deleted unnecessary OspInventoryWrapperPlugin, added manipulation of SOP's xml representation in a generic ExternalRepresentationUtils function.
* Changed the parser for InventoryItem deserialization. Moved some utility ↵Diva Canto2010-11-271-91/+31
| | | | functions around.
* Added creator info across the board -- TaskInventoryItems and InventoryItems ↵Diva Canto2010-11-211-2/+21
| | | | | | themselves. Tested. Seems to be working, main tests pass. Nothing done for IARs or HG transfers yet -- this only works for OARs for the time being. New migration in inventory table in order to make CreatorID varchar(255).
* Global creator information working on MySQL DB and on load/save OARs. ↵Diva Canto2010-11-211-0/+21
| | | | | | | Creator name properly shown on the viewer as first.last @authority. New option added to save oar -profile=url. Migration on RegionStore making CreatorID be 255 chars. Moved Handling of user UUID -> name requests to a new module UserManagement/UserManagementModule.
* Diva needs a spanking! Serializing OldItemID breaks script state persistence ↵Melanie2010-11-161-1/+4
| | | | in agent inventory.
* Old deserialization can't deal with commas in flag fields. Making use of ↵Diva Canto2010-11-021-3/+17
| | | | -version option on save oar command. Bumped archives version to 0.5; version < 0.5 generates flag fields without commas. Everything else is identical.
* Formatting cleanup.Jeff Ames2010-10-271-1/+1
|
* Added inner exception handling in Shape deserialization processing, so that ↵Diva Canto2010-10-231-3/+16
| | | | the whole Shape processing returns a valid Shape object.