Commit Graph

3310 Commits

Author SHA1 Message Date
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
6465ec4737 Added avatar_skeleton.xml 2015-06-11 00:21:24 +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
18b39948bd Remove stray file 2015-06-10 21:59:02 +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
dahlia
f75dccc313 fix Quaternion.GetAxisAngle() 2015-06-10 00:13:22 -07:00
dahlia
ebe3506a12 Fix Quaternion / operator 2015-06-09 20:35:34 -07:00
BlueWall
6b8afb2b61 Merge branch 'cinderblocks-master' 2015-05-12 23:58:58 -05: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
Justin Clark-Casey
66f857a468 Merge pull request #17 from diva/master
Patch to the auto-generated C# Collada code, because of a mono bug
2014-12-17 19:00:15 +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
Anton Lauridsen
877824e4bf Fix a few minor issues with LindenSkeleton
1) Doesn't crash when trying to load the lod 1 mesh for eyes.
2) Can decode the "packed" skinweights.
3) Has xmldoc tags for nearly everything.

Besides these changes I've added a version of avatar_skeleton.xml to the
"openmetaverse_data" folder. The file is copyright Linden Labs, and is
published by them under CCSA.
2014-12-16 07:22:33 +01: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
Justin Clark-Casey
90e9243b9a Merge pull request #15 from diva/master
Additional improvements to the bulk mesh upload: support more Collada!
2014-12-16 00:01:55 +00: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
BlueWall (James Hughes)
37f7cbe6bb Merge pull request #14 from diva/master
Improvements to the bulk Collada importer
2014-12-14 09:07:44 -05:00
Diva Canto
66a2e4d750 Removed an unnecessary import. 2014-12-13 23:15:32 -08:00
Diva Canto
c86358fc0c Merge branch 'master' of https://github.com/diva/libopenmetaverse 2014-12-13 23:15:04 -08:00
Diva Canto
a647048c0c 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:13:39 -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
ea395cf545 minor: Change runprebuild2012.bat to say it is creating vs2010 files and not vs2012 2014-10-21 00:34:32 +01:00
Justin Clark-Casey
50d88580e9 Merge pull request #13 from Heather/master
runprebuild2013.bat for .NET 4.0
2014-10-21 00:33:25 +01:00
Heather
fc7d031db7 runprebuild2013.bat for .NET 4.0 2014-10-15 14:35:44 +04: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
40d2073a95 Merge pull request #11 from justincc/master
fix prebuild copying files on nant build
2014-08-08 20:37:37 +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
9e725bb113 LIBOMV-965: wrong enum text, patch by MadpeterZond 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