Commit Graph

18 Commits

Author SHA1 Message Date
Latif Khalifa
ae112d56fb Update copyright notices 2014-02-25 15:31:10 +01:00
Latif Khalifa
fc4ecce4a1 Decoding/Encoding of MaterialID in TextureEntry 2013-04-13 05:01:00 +02:00
Latif Khalifa
5a37c431fa Made TextureEntryFace cloneable
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3561 52acb1d6-8a22-11de-b505-999d5b087335
2011-07-25 17:41:51 +00:00
John Hurliman
64f990fa38 * Fixed JSON serialization for null/undefined values
* Added MappingType.Spherical and MappingType.Cylindrical enum values

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3361 52acb1d6-8a22-11de-b505-999d5b087335
2010-06-05 14:12:24 +00:00
John Hurliman
5b6a86d518 * Fixed OAR loading of linkset assets
* Added a helper method to convert from the OAR-loaded PrimObject to OpenMetaverse.Primitive
* Added a basic sanity check to TextureEntry.FromBytes() for TEs less than 16 bytes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3288 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-21 01:49:57 +00:00
John Hurliman
66e1017103 * Initial implementation of the J2KEncoder class. Currently, it only supports lossy single layer RGB textures
* Breaking change to the OSD format for permissions. The field naming convention has been corrected to match the rest of the OSD serialization methods
* Added serialization support to ParticleSystem
* Finished TextureEntry serialization support

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3242 52acb1d6-8a22-11de-b505-999d5b087335
2010-01-06 23:45:43 +00:00
John Hurliman
8e3d1bb711 * Minor adjustment in CSJ2K to dispose MemoryStreams when it creates them
* Replaced all Packet field properties with simple class members. Big internal change but no API difference
* TextureEntry GetBytes() now disposes the MemoryStream it creates
* Added LocklessQueue.Count and LocklessQueue.Clear()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3169 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-24 07:10:47 +00:00
John Hurliman
5bd0aae867 * Inventory.RootNode and Inventory.LibraryRootNode now return null instead of throwing an exception. Properties should not throw exceptions
* Fixed unintended overriding of LindenMessages.AssetUploaderBlock.State
* Changed the disposable pattern of Simulator to match what MS code analysis suggested
* Added using { } blocks to lots of stream opening to ensure the streams are always closed before going out of scope

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3080 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-12 23:45:52 +00:00
John Hurliman
b4fc6ccdab Committing a slightly modified version of [LIBOMV-609] to fix prim serialization/deserialization when TextureEntry or DefaultFace data is missing. Thank you echeslack
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2915 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 21:32:22 +00:00
John Hurliman
f375da4eff Applying patch from [LIBOMV-595] by Douglas R Miles, fixes TextureEntry.GetHashCode() when DefaultTexture is null
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2896 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-16 19:19:16 +00:00
John Hurliman
987f504e86 * Made Primitive.GetHashCode() much more thorough. Could reasonably be used as a prim CRC now
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2540 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-26 02:18:43 +00:00
John Hurliman
fc1d9dedd1 [LIBOMV-459] Patch from Peter Tavinor to properly set material and media attributes for texture faces
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2492 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-18 00:58:07 +00:00
John Hurliman
8106fccdd2 * Changed Primitive.TextureEntry.ToBytes() to GetBytes() to follow naming conventions
* Added Primitive.TreeSpecies and Primitive.ScratchPad
* Converted Primitive.SoundFlags to the new SoundFlags enum
* Added a Utils.BytesToString() overload that accepts index and count parameters
* Added Utils.FloatToUInt16()
[Simian]
* Lots of changes in Simian to use the new unified ISceneProvider.ObjectAddOrUpdate() function
* Update flags are checked to determine the minimum sized packet that needs to be sent out for an update. ImprovedTerseObjectUpdate is working, and started work on ObjectUpdateCached (updates using this will currently not send)
* Adding three new variables to SimulationObject to store attachment-related state

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2478 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-10 01:54:45 +00:00
John Hurliman
3ad7551a4a * Added Utils.EmptyBytes which is equal to new byte[0] and replaced all references of new byte[0] to Utils.EmptyBytes
* Added a CRC32 implementation to OpenMetaverseTypes.dll
* Added ToBytes() functions to most of the OMV types for writing bytes into an existing byte array

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2470 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-06 01:32:02 +00:00
John Hurliman
8e84377b22 * Removing EnUsCulture from Helpers as it already exists in Utils
* Removing Helpers.NewLine as it already exists in Environment.NewLine

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2360 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-17 23:37:02 +00:00
John Hurliman
bad3108ddf * Renamed LLSD to OSD. The LLSD-specific (de)serialization functions have been renamed to specify they use LLSD. Other serialization formats will be added in the future, along with better native support for vectors and unsigned integers
* Added Utils.SHA1()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2321 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-30 01:50:59 +00:00
John Hurliman
3e5fcb7fab * Moving conversion functions from Helpers to Utils (in OpenMetaverseTypes)
* Added GetLLSD() and FromLLSD() to Permissions
* Started on inventory persistence for Simian

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2267 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-06 22:34:38 +00:00
John Hurliman
07754f7016 OpenMetaverse:
* LLObject is gone, it is now merged into Primitive
* Avatar inherits from Primitive
Simian:
* Added SimulationObject to track prims
* Added IMeshingProvider and a connector to OpenMetaverse.Rendering plugins

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2161 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-24 05:06:51 +00:00