Commit Graph

24 Commits

Author SHA1 Message Date
Latif Khalifa
ea8107937c LIBOMV-874: Added support for GetMesh cap (untested)
* Added stub MeshAsset

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3450 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-15 00:01:17 +00:00
John Hurliman
0055be6820 * THIS IS A POTENTIALLY BREAKING CHANGE *
* Changed the OpenMetaverse.Assets.Asset* classes to normalize their behavior as much as possible:
 - Some unused constructors were removed
 - Decoding is never done if the (assetID, assetData) constructor is called
 - AssetPrim decoding from XML will set the AssetPrim.AssetID to the UUID of the root prim in the linkset if it is not already set
 - Added more sanity checking in Decode() methods

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3408 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-04 23:25:40 +00:00
John Hurliman
9a2a68edf1 * Handle another serialization change in OpenSim XML prims (PlaySoundSlavePrims and LoopSoundSlavePrims fields)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3400 52acb1d6-8a22-11de-b505-999d5b087335
2010-07-29 17:48:35 +00:00
John Hurliman
2ebc810d72 * Finished OAR file loading
* Small performance optimization in JsonMapper.cs
* Added message definitions for new capabilities
* Added (currently unused) new enum values
* Updated to a more recent version of log4net.dll

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3397 52acb1d6-8a22-11de-b505-999d5b087335
2010-07-26 18:01:40 +00:00
John Hurliman
9138fee6b0 * Handle "-0" values in wearable assets
* Login fix for Linux clients now that the null ID0 is blacklisted
* Change Parcel from a struct to a class (this object is huge!) and remove the redundant initializers in the constructor
* Moved Terrain and WindSpeed data from TerrainManager to the Simulator class
* Don't track wind data either if STORE_LAND_PATCHES is disabled

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3298 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-21 00:00:54 +00:00
John Hurliman
de2a49dddf First round of memory improvements!
* Disable TRACK_UTILIZATION by default
* Ignore Primitive.ScratchPad and always set it to Utils.EmptyBytes. This field is deprecated on the SL grid and there are better ways to extend the protocol for non-SL grids
* More graceful handling of corrupted wearables
* Free up memory after baking

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3297 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-20 21:58:23 +00:00
John Hurliman
14782dd1ef * Handle another prim XML ambiguity in OAR loading
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3295 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-01 01:01:53 +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
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
Latif Khalifa
d83ea760d9 Remove brilliant "fix"
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3063 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-05 02:12:42 +00:00
John Hurliman
c1bc0b4af6 * Moved OpenMetaverse/Resources to bin/openmetaverse_data until we have a working xbuild and reorganize SVN
* Complete rewrite of AppearanceManager. Appearance editing has not been (re)implemented yet, but the normal appearance setting is much more reliable
* Added a setting (defaulted to true) for automatically setting appearance
* Various baking hacks to get slightly less ugly avatars
* Added baked texture uploading through CAPS in AssetManager.RequestUploadBakedTexture(). UDP fallback is not implemented yet
* Added Parallel.Invoke() and overloads for all three methods that take a threadCount

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3038 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 17:43:01 +00:00
John Hurliman
6557e50c2e * Improved notecard generation with embedded items
* Added InventoryManager.EncryptAssetID() helper
* Added Permissions.HasPermissions() helper

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3032 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-29 17:29:36 +00:00
Latif Khalifa
724033b1af Misc docu and typofixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3020 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 14:38:52 +00:00
Jim Radford
b60db797b2 LIBOMV-501 Cleans up all compiler warnings with a few exceptions that need to be addressed individually
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3015 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 06:57:52 +00:00
Latif Khalifa
0428e2336b Added gesture asset encoder, ability to activate and deactivate gestures (LIBOMV-629)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2982 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-12 21:07:49 +00:00
Latif Khalifa
4aa19adbd5 LIBOMV-629: Added suport for gesture assets decoding and playback
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2979 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-12 15:41:22 +00:00
Latif Khalifa
37fa087021 * Close input stream if deserialization of inventory cache fails
* Decode proper type of embedded item on the notecard
* Added LastOwnerID to InventoryItem and use it when encoding/decoding assets

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2976 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-11 14:50:45 +00:00
Latif Khalifa
68c433b3d6 Fix typo in previous commit
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2969 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 23:50:52 +00:00
Latif Khalifa
00c4015ad5 Fixed case when there are multiple embedded items, and corrected the length,
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2968 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 23:42:00 +00:00
John Hurliman
9ff8cdca27 * Fixed StatusCode.InsufficientPermissiosn typo
* Added an overload to AssetManager.RequestAsset() that lets you specify the SourceType
* Modified notecard serialization so embedded items should match the SL viewer serialization byte for byte
* Notecard upload CAP failures will pass along the WebException error message to the callback in case of a failure now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2961 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 16:23:26 +00:00
John Hurliman
f86a6652a4 Added support for embedded inventory items when encoding notecards. This will only embed the inventory data in the notecard asset, it does not create the clickable links that show up in notecard text yet
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2948 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-08 22:56:12 +00:00
Latif Khalifa
75cdaf84d5 Remove leftover debugging output.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2885 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-15 15:52:40 +00:00
Latif Khalifa
4465673985 LIBOMV-590 Implemented full asset notecard decoding
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2883 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-14 11:28:31 +00:00
John Hurliman
a970cbd661 Initial commit of the OpenMetaverse.Assets namespace. Serialization/deserialization for new PrimObject is done, but OAR saving/loading is still a work in progress
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2746 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-12 00:07:35 +00:00