aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Serialization (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-07-19remove undo state storage in a few places where it's pointlessJustin Clark-Casey (justincc)1-3/+1
no functional effect - existing bugs still remain
2011-07-09minor: code tidy and inserted log lines for future use.Justin Clark-Casey (justincc)1-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.
2011-06-10When serializing objects, stop accidentally using the green text colour ↵Justin Clark-Casey (justincc)1-1/+1
value for alpha This addresses http://opensimulator.org/mantis/view.php?id=5111
2011-05-27Make sure culture is en-US when saving archive related xml.Justin Clark-Casey (justincc)1-1/+0
This might resolve http://opensimulator.org/mantis/view.php?id=5475
2011-05-27If parsing fails in the primitive base shape (which prints out a debug log ↵Justin Clark-Casey (justincc)1-4/+25
message), also print out the name and uuid of the part containing this shape. This is to help in diagnosing parsing failures.
2011-05-25Add PayPrice to serialization format Xml2Melanie1-1/+36
2011-04-21Alter uuid gather so that it properly analyzes coalesced objects.Justin Clark-Casey (justincc)1-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.
2011-04-15Make all the objects in a coalescence reappears after being loaded from an ↵Justin Clark-Casey (justincc)1-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.
2011-04-13refactor: move code to obtain the coalescence size and object offsets into ↵Justin Clark-Casey (justincc)1-15/+12
CoalescedSceneObjects from the serializer.
2011-04-13Add coalesced scene objects class and serializer. This is currently only ↵Justin Clark-Casey (justincc)2-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.
2011-04-12Bug fix in object serialization -- sculpt data was wrong.Diva Canto1-1/+1
2011-01-08Fixes the issue of hung archives. Problem was with SceneObjectSerializer.Diva Canto1-0/+12
Also fixes a buglet in scene load xml command, where it was given the wrong argument index for filename.
2010-12-17remove mono compiler warning: if (sop.Color != null) always returns true as ↵Justin Clark-Casey (justincc)1-9/+7
sop.Color is a value type.
2010-11-29Preservation of creator information now also working in IARs. Cleaned up ↵Diva Canto1-31/+11
usage help. Moved Osp around, deleted unnecessary OspInventoryWrapperPlugin, added manipulation of SOP's xml representation in a generic ExternalRepresentationUtils function.
2010-11-27Changed the parser for InventoryItem deserialization. Moved some utility ↵Diva Canto1-91/+31
functions around.
2010-11-21Added creator info across the board -- TaskInventoryItems and InventoryItems ↵Diva Canto1-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).
2010-11-21Global creator information working on MySQL DB and on load/save OARs. ↵Diva Canto1-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.
2010-11-16Diva needs a spanking! Serializing OldItemID breaks script state persistence ↵Melanie1-1/+4
in agent inventory.
2010-11-02Old deserialization can't deal with commas in flag fields. Making use of ↵Diva Canto1-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.
2010-10-27Formatting cleanup.Jeff Ames1-1/+1
2010-10-23Added inner exception handling in Shape deserialization processing, so that ↵Diva Canto1-3/+16
the whole Shape processing returns a valid Shape object.
2010-10-19It looks like Vector3s also got written down in lower case at some point in ↵Diva Canto1-3/+3
time. Added code to account for that. 17:45:59 - [SceneObjectSerializer]: exception while parsing SitTargetPosition: System.Xml.XmlException: Expecting X tag from namespace , got x and instead Line 1, position 2838.
2010-10-19Another take related to the previous commit.Diva Canto1-13/+17
2010-10-19Added code to quaternion deserialization to try to cope with an exception ↵Diva Canto1-4/+15
seen in Wright Plaza related to SitTargetOrientation. 17:23:05 - [SceneObjectSerializer]: exception while parsing SitTargetOrientation: System.Xml.XmlException: Expecting X tag from namespace , got w and instead Line 1, position 30064.
2010-10-19Added TextureAnimation and ParticleSystem to serialization.Diva Canto1-0/+27
2010-10-19COmmented the wrong line instead, now I commented them all to be on the safe ↵Melanie1-2/+2
side
2010-10-19Comment a spammy debug message in the serializerMelanie1-1/+1
2010-10-17Deleted all [XmlIgnore] from SOP, since those are meaningless now.Diva Canto1-3/+3
2010-10-17.NET automagical serialization of SOPs replaced by manual serialization ↵Diva Canto1-50/+15
across the board.
2010-10-15Made OARs use the new serialization procedure. (TPs/crossings still on the ↵Diva Canto2-120/+153
old one) Added an options argument down the pipeline. For the time being it takes --old-guids as an option to produce <Guid> instead of <UUID>.
2010-10-14Added manual xml2 serialization. Rewired only save xml2, not oars yet. Seems ↵Diva Canto2-105/+164
to be generating xml's that are successfully parsed. Needs more testing.
2010-10-13Added SOP.MediaUrl and Shape.Media to the deserializationDiva Canto1-204/+14
2010-10-13Comment a debug message so that it doesn't spew the console upon ↵Diva Canto1-1/+1
encountering unknown xml elements.
2010-10-13New SOG/SOP parser using XmlTextReader + delegates dictionary. Active for ↵Diva Canto2-7/+1381
load oar and load xml2, but not for packing objects on crossings/TPs yet.
2010-09-16Changed SceneObjectGroup to store parts with the fast and thread-safe ↵John Hurliman1-16/+12
MapAndArray collection
2010-09-10First pass at cleaning up thread safety in EntityManager and SceneGraphJohn Hurliman1-13/+10
2010-06-12Preserving the link numbers is a serializer's highest duty.Melanie Thielker1-0/+9
Prevent region crossings from screwing up complex attachments by preserving link numbers.
2010-04-19All scripts are now created suspended and are only unsuspended when the objectMelanie1-0/+1
is fully rezzed and all scripts in it are instantiated. This ensures that link messages will not be lost on rez/region crossing and makes heavily scripted objects reliable.
2009-10-01Formatting cleanup.Jeff Ames2-9/+9
2009-09-16SceneObjectGroup cleanup. Removes the default constructor and unnecessary ↵John Hurliman1-31/+22
null checks on m_rootPart
2009-06-05* refactor: split out part xml writing in SceneObjectSerializerJustin Clarke Casey1-2/+7
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2-2/+2
LICENSE.txt.
2009-05-14* refactor: move SceneXmlLoader into subpackageJustin Clarke Casey1-0/+290
2009-05-14* refactor: move bottom part of 'xml2' serializaton to separate classJustin Clarke Casey1-39/+66
2009-05-14* refactor: break some of xml2 serialization out of sogJustin Clarke Casey1-0/+19
2009-05-08* break out 'xml2' deserialization from sogJustin Clarke Casey1-7/+71
2009-05-08* refactor: break out sog original xml serialization to a separate classJustin Clarke Casey1-6/+60
2009-05-08* minor: rename xml sog serialization method for readabilityJustin Clarke Casey1-3/+3
2009-05-08* refactor: Break out original xml object serialization into a separate classJustin Clarke Casey1-0/+133
* No functional change