31cc322c68
Resolves LIBOMV-555: Too thin lock in ObjectManager.GetAvatar/GetPrimitive
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2803 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-24 02:42:07 +00:00
John Hurliman
3015a7a271
Minor cleanup
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2801 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-22 21:47:28 +00:00
Latif Khalifa
ed7daf44f1
LIBOMV-499 automatically deselect objects after their selection since this is most common use case.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2643 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-21 23:45:14 +00:00
Jim Radford
e2aac1a6d7
LIBOMV-465 Adds overload to OpbjectManager AddPrim method to allow user specified flags during creation. Thanks Douglas R Miles for the patch
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2562 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-31 19:23:27 +00:00
Jim Radford
190c1dab10
LIBOMV-393 Adds 2 new utility methods to ObjectManager to set the Shape and Material of an object. SetShape() and SetMaterial() are the new methods.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2501 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-18 19:31:39 +00:00
John Hurliman
342008176e
[Simian]
...
* Added IPhysicsProvider.TimeDilation (not functional yet)
* Completed ObjectUpdateCompressed implementation
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2479 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-10 18:40:11 +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
ac784d54aa
Thank you nephrael for pointing out a bug where Avatar.RegionHandle was always 0 for incoming avatars
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2472 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-06 01:58:58 +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
6fbaa010a3
[LIBOMV-443] Applied patch from Keith Perkins to add ObjectManager.DropObject() function
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2440 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-17 18:48:33 +00:00
3444200bc1
* Fixed a null reference exception in ObjectManager where prim Properties was null while calling .Properties.SetFamilyProperties, and a related problem in TestClient. Also fixed a null reference exception in sculpt data for ExportCommand.cs
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2403 52acb1d6-8a22-11de-b505-999d5b087335
2009-01-05 18:01:37 +00:00
John Hurliman
344d327a15
* Removed all strings from _Packets_.cs, including warning messages for null arrays and Packet.ToString(). GridProxy needs a new Packet.ToString() method that uses reflection now
...
* Fixed foliage decoding and removed OnNewFoliage in favor of OnNewPrim only
* Flexi, light, sculpt, and object properties (all inside of Primitive) are now classes that can be null instead of structs
* Added Primitive.GetExtraParamsBytes()
* Massive improvements to Simian and periscope
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2384 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-18 21:45:38 +00:00
69bf9bf5f3
More additions relating to LIBOMV-418
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2338 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-09 20:29:04 +00:00
ae2f5ce1b3
* Implemented LIBOMV-418: Add SetObjectSaleInfo() function to ObjectManager
...
* Cleaned up locking in KillObjectHandler
* Fixed an xml param name in Simulator.SendPacketUnqueued
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2337 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-09 18:51:38 +00:00
64bc9e904f
Resolves LIBOMV-340: ObjectManager not removing av from ObjectsAvatars.Dictionary when killed
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2308 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-25 16:19:15 +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
f8d777b6a6
* Adding more conversion helpers to Helpers, these should always be used in place of BitConverter calls
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2266 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-06 21:46:02 +00:00
Jim Radford
09a0404860
LIBOMV-392 Adds sanity check to ParcelPrimOwnersReply packet, fires event with null values to mimic the behavior of the viewer
...
* removed extraneous debug message in ObjectManager when CreateSelected is flagged on prims
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2260 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-06 01:12:05 +00:00
John Hurliman
4f94adf5ec
* IMPORTANT OpenMetaverseTypes CHANGE! Changed string to UUID typecast operator from implicit to explicit. This prevents accidents like "if (myUUID == null)" from compiling
...
* Added ImageCodec enum
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2209 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-10 18:42:11 +00:00
John Hurliman
f1d183a40e
* Removed ObjectManager.BuildCube and replaced with ObjectManager.BuildBasicShape() which should be capable of building the most basic shape types. Some shapes seen in the viewer like right triangles are not supported yet
...
* Added a debug line when a prim with the CreateSelected flag set is received
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2191 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-30 23:52:00 +00:00
John Hurliman
eb8ee37b34
libomv:
...
* Renaming ObjectPropertiesRequestType to ReportType, filling out the enum
Simian:
* Added UUIDNameRequest, MultipleObjectUpdate, ObjectDeselect, and RequestObjectPropertiesFamily handlers
* Fixed some bugs in object-object collision
* Slightly improved prim spawn location (will always be hacky until we have a collision system)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2177 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-28 02:38:32 +00:00
John Hurliman
c7474faed6
* Fixed a typo in OpenMetaverse.ObjectManager
...
* Improved BuildFullUpdate in Simian
* Added ObjectManager in Simian, prim creation is working (no editing yet)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2162 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-24 05:21:42 +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
John Hurliman
09582ed2b9
* Fixing several places where BytesToUIntBig() was being used because the endian order was wrong in that function. Now that the function is fixed, those places have been converted to using BytesToUInt()
...
* Implemented Utils.HexStringToBytes()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2145 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-21 20:01:16 +00:00
John Hurliman
99239ebcfc
* Splits libomv into OpenMetaverseTypes.dll and OpenMetaverse.dll
...
* All MathUtils and non-SL-specific Helpers functions have been put in OpenMetaverseTypes.dll inside the Utils class. Helpers only contains SL-specific functions now
* LLSD encoding/decoding for custom types has been moved out of the types and implemented as static functions in the LLSD class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2082 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-12 22:38:02 +00:00
John Hurliman
15f3865b82
* Reimplemented all basic types and moved them to a separate folder (NOT separate namespace). Lots more functions, couple breaking changes. Matrix3 is gone
...
* Moved math functions from Helpers to new MathHelper static class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2045 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-01 20:22:22 +00:00
Jim Radford
2ec24f22fa
Compiler warning cleanup, fixes all unmatched parameters (adds empty placeholders for CrisOmega to fill in when he wakes up :)), Adds additional warning supressions to prebuild.xml
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2033 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-30 06:51:51 +00:00
John Hurliman
e294f47afd
* Basic types renaming continued
...
* Corrected ManagedImage.ExportRaw() function to flip the image (OpenGL has a texture origin in the bottom-left)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2015 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-28 22:23:48 +00:00
Jim Radford
7a7039e261
LIBOMV-327 Applying Patch from Gonta Maltz which implements the ability to deselect multiple objects in ObjectManager
...
* Fix Comment Typo in ParcelManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2005 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-26 09:18:52 +00:00
John Hurliman
81e6342d36
Removing LL prefix from all basic types
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1998 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-25 05:15:05 +00:00
John Hurliman
c1f3d6a3c2
Renaming libsecondlife folder to OpenMetaverse. Part of a multi-step process, do not check out this revision!
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1957 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-22 22:56:05 +00:00