Commit Graph

1019 Commits

Author SHA1 Message Date
Drake Arconis
82fd0133ad Use correct folder type ids instead of asset ids for inventory folders
This corrects a severe error where as AssetTypes were being reused for
the Folder FolderType id resulting in invalid ids for various system
folder types causing inventory validation issues from within the SL
viewer.
2015-08-07 17:26:35 +02:00
Cinder
59f4beb9b6 Thanks Xamarin for the tabs! I really appreciate it. 2015-07-24 18:06:43 -06:00
Cinder
02f7121fe0 Add Experience block to ScriptQuestionPacket 2015-07-24 18:01:00 -06:00
nooperation
8a6b8a711b [RAD-428] Gestures not parsing chat channels correctly 2015-07-21 22:37:19 -04:00
Latif Khalifa
3421f412a1 Switching file versions to 0.9.4-dev 2015-07-06 20:21:11 +02:00
Latif Khalifa
6ac251b39c Updated version 2015-07-06 17:01:16 +02:00
Latif Khalifa
08fde07576 LIBOMV-990: WinProxy: No Decoder for GetObjectCost, patch by Frederick Martian 2015-07-06 15:16:39 +02:00
Fly Man
18d9c61f29 Updating GroupPowers
* Updated to the latest known values
2015-07-03 22:02:38 +02:00
Latif Khalifa
6da12edb38 New domain name 2015-06-30 20:25:47 +02:00
Blake Bourque
ce7c8f5446 Fix the summary of RequestLogout (Existing Method) 2015-06-24 20:55:00 -04:00
Blake Bourque
962e2922cd Add a non-blocking logout method to the NetworkManager 2015-06-24 20:54:46 -04:00
Latif Khalifa
de0ce9736f Maintain compatibity with older compilers 2015-06-12 13:42:40 +02:00
Latif Khalifa
89ffa80883 Merge req #3 2015-06-11 00:02:57 +02:00
Spoof Kelberry
a46f1d09a2 Removed simulator from NetworkManager.Simulators if given up on RegionHandshake 2015-06-10 22:58:21 +02:00
Latif Khalifa
96f0965034 Merge pull request #19 from thoys/chattype-regionsayto
add ChatType RegionSayTo
2015-06-10 22:01:23 +02:00
Latif Khalifa
d5913a9413 Merge pull request #16 from antoncl/patch-lindenskeleton
Fix a few minor issues with LindenSkeleton
2015-06-10 21:56:12 +02:00
Cinder
f79a6613e6 Sync caps with Linden's viewer-release 2015-03-31 13:35:02 -06:00
Thijs Wenker
37d267a3ba added ChatType.RegionSayTo (9) 2015-03-30 15:46:41 +02:00
Cinder
d19bf3e745 Add AppearanceHover packet 2015-03-29 10:34:19 -06:00
Justin Clark-Casey
172da1fdf3 minor: Put notice about auto-generated file Collada.cs manually changed in commit 3a59220 2014-12-17 19:02:54 +00:00
Diva Canto
3a59220cde Patch to the auto-generated C# Collada code, because of a mono bug reported here:
https://bugzilla.xamarin.com/show_bug.cgi?id=25474
The auto-generated code runs fine in Windows .Net but crashes in mono for some Collada files.
2014-12-17 08:31:08 -08:00
antoncl
9161b606a4 Added loader for the avatar_skeleton.xml file and a byte aligned endian aware reader
Signed-off-by: Anton Lauridsen <antoncl@users.noreply.github.com>
2014-12-16 07:13:11 +01:00
antoncl
07132c210f Documented LindenSkeleton mesh, which can "unpack" the skinweights on the mesh and which correctly handles eyeball lod mesh.
Signed-off-by: Anton Lauridsen <antoncl@users.noreply.github.com>
2014-12-16 07:13:09 +01:00
Diva Canto
00e5078bee One final improvement to instanced geometry in the libomv model: create only the necessary assets. 2014-12-14 19:32:08 -08:00
Diva Canto
068c04afbe Deleting two extraneous fields from the llmesh header, rez_position and rez_scale. In talking to Dahlia, it turns out this was something she added to do something specific. She then gave this code to lkalif, who kept those 2 fields. They were harmless, but meaningless for the viewer. 2014-12-14 17:00:11 -08:00
Diva Canto
e31df72ef8 Additional improvements to the bulk mesh upload: support more Collada! Specifically, this now supports something that the LL viewer doesn't: the ability for instances of geometries to reuse geometries specifications.
Imagine a track with many poles, each pole being the same geometry; the LL viewer requires a geometry element for every single pole! This patch makes libomv able to parse Collada files where instances reuse geometries, allowing for much more concise Collada files.
2014-12-14 15:49:20 -08:00
Diva Canto
66a2e4d750 Removed an unnecessary import. 2014-12-13 23:15:32 -08:00
Diva Canto
9e6b52edee A couple of improvements to the bulk collada importer:
(1) handle hierarchical nodes in the visual scene
(2) handle the <triangle> element of geometries. This was done the lazy way: convert <triangles> to <polylist> and call the function that was already there for handling <polylist>
2014-12-13 23:10:38 -08:00
Justin Clark-Casey
cedac5540a Prevent multiple binds to the same port for receiving UDP packets under Mono.
On at least Mono 3.2.8, multiple UDP sockets can bind to the same port by default.  This means that
when running multiple connections, two can occasionally bind to the same port, leading to unexpected
errors as they intercept each others messages.
Prevent this by explicitly setting SocketOptionName.ReuseAddress = false
2014-10-30 20:36:15 +00:00
Justin Clark-Casey
95171c877d Rename DownloadManager.QueueDownlad() -> QueueDownload() 2014-10-28 23:50:59 +00:00
Justin Clark-Casey
01d07d5ab1 Fix regression where downloads via capabilities would never take place.
In 2208379 (Mon Aug 11 23:57:33 2014), DownloadManager.ParallelDownloads was accidentally set to 0 instead of 8.
This commit also try/catches the parallel part of AppearanceManager.DownloadTextures()
2014-10-28 23:43:44 +00:00
Justin Clark-Casey
a41f2bdd93 If client-send texture baking failed because of an exception then log it 2014-10-28 01:17:17 +00:00
Latif Khalifa
0da94242b2 LIBOMV-982: Alpha wearable checkbox for full alpha on a part has no effect 2014-10-26 02:04:42 +01:00
Justin Clark-Casey
0f4b361c34 minor: If logging due to a duplicate GridClient received packet then add name of source simulator and client name where appropriate. 2014-09-24 23:07:38 +01:00
Latif Khalifa
5b1377b70d Merge pull request #12 from MelanieT/master
Add SeeAVs, AnyAVSounds and GroupAVSounds fields to ParcelPropertiesMess...
2014-08-12 03:22:21 +02:00
Melanie Thielker
e67f5ea794 Add SeeAVs, AnyAVSounds and GroupAVSounds fields to ParcelPropertiesMessage and ParcelPropertiesUpdateMessage 2014-08-12 03:19:46 +02:00
Justin Clark-Casey
2208379c90 Introduce Settings.HTTP_MAX_CONNECTIONS to regulate maximum connections to specific endpoints for capability requests.
Previously, CapsBase.SetupRequest() hardcoded this to 32 and DownloadManager.ParallelDownloads was setting this with a default value of 8.
This meant that the ConnectionLimit would oscillate rapidly between these two figures as requests were made.
On Mono 3.2.8 and quite possibly other Mono, this appears to increase the chance that the VM will crash under heavy request load.
This commit makes both SetupRequest() calls use the static Settings.HTTP_MAX_CONNECTIONS - other static settings already exist, and so also makes this configurable.
DownloadManager.ParallelDownloads remains a separate setting since it also governs max parallel downloads through a separate coded mechanism.
2014-08-11 23:57:33 +01:00
Justin Clark-Casey
7b094a35dd Handle incoming caps events sync rather than async to avoid unexpected out-of-order processing
Under moderate or greater CPU load, pushing to the threadpool means that events such as EstablishAgentCommunication may be processed before EnableSimulator
even though the simulator sends them in the reverse order.
This triggers the logging of various errors and warnings by libomv.
Handling these synchronously shouldn't have a huge impact since the number of events is not high and taking time here can only hold up event upload
2014-08-04 22:14:04 +01:00
Justin Clark-Casey
5f94bda11f Dispose of HttpWebResponse explicitly in CapsBase.GetResponse()
Current code does not but all IDiposable objects should be disposed.
2014-08-04 20:26:10 +01:00
Latif Khalifa
adb43fa1fe LIBOMV-981: Inventory Item name is lost on move using InventoryManager.MoveItem
Patch by: Blake Bourque
2014-08-04 20:26:10 +01:00
Latif Khalifa
2a712ae09c Mesh upload: moved collada library into it's own namespace 2014-08-04 20:26:10 +01:00
Latif Khalifa
941dc830ca Mesh upload: request inventory fetching of the newly created item 2014-08-04 20:26:10 +01:00
Latif Khalifa
1b4cfd959d Mesh upload: added image upload along with the models 2014-08-04 20:26:10 +01:00
Latif Khalifa
517013caa3 Added support for quads in meshes, fixed normals 2014-08-04 20:26:10 +01:00
Latif Khalifa
f00c274ebd Speedup generation of indices 2014-08-04 20:26:10 +01:00
Latif Khalifa
7e4bdad41a Better hashcodes for Vectors and Vertices 2014-08-04 20:26:10 +01:00
Latif Khalifa
606834e9cf Documented ModelUploader, added ability to just do price check 2014-08-04 20:26:10 +01:00
Latif Khalifa
fff348d2cd Added license stub 2014-08-04 20:26:10 +01:00
Latif Khalifa
0481c2b2d9 Collada parser and model uploader. Work in progress.
Sample code:

            var parser = new OpenMetaverse.ImportExport.ColladaLoader();
            var prims = parser.Load(o.FileName);
            if (prims != null && prims.Count > 0)
            {
                var uploader = new OpenMetaverse.ImportExport.ModelUploader(client, prims);
                uploader.PrepareUpload();
            }

Note that PrepareUpload performs the upload as well in this initial stage.

TODO:
* Image upload
* Support for quads in addition to triangles
2014-08-04 20:26:10 +01:00
Latif Khalifa
bbe7b39621 Added Helpers.ZCompressOSD() and Helpers.ZDecompressOSD() 2014-08-04 20:26:10 +01:00