Cool VL Viewer forum
http://sldev.free.fr/forum/

LLMeshRepository not work? (OpenSim of localport)
http://sldev.free.fr/forum/viewtopic.php?f=4&t=1663
Page 1 of 1

Author:  Mayumi Hirano [ 2016-09-19 10:36:49 ]
Post subject:  LLMeshRepository not work? (OpenSim of localport)

Hi Henri, Thank you for always wonderful viewer :D

I have a problem that MESH-object is not visible. :cry:
This problem will appear only if the local OpenSIM.
There is no problem in the Second Life grid, works fine!!

And in one previous version(Cool VL Viewer v1.26.18.23), the behavior is normal.
This problem will appear only v1.26.18.24


Attach a log of the operation of 18.23 and 18.24

If the MESH data is existing on the cache, it will be displayed normally even 1.26.18.24.
When operating test, please go to clear the cache.


However, since I have been using a 32bit(own build), I do not know whether it is really a BUGs.

I'm sorry in poor English :p

EDIT:
(The attached logfile has been removed)

Author:  Henri Beauchamp [ 2016-09-19 15:52:02 ]
Post subject:  Re: LLMeshRepository not work? (OpenSim of localport)

The problem is with:
Code:
2016-09-19T09:59:04Z WARNING: LLMeshHeaderHandler::processData: Trying to cache nonexistent mesh, mesh id: ba2c14db-04e6-4549-a0f9-8eec104b8757
.../...

It stems to a change that went into last Saturday's releases to fix a crash bug in the mesh repository: there are now stricter checks in the latter about the validity of downloaded mesh headers.

Apparently, OpenSim does not send any mesh data format version in the header (which is a breakage of the mesh protocol as defined by LL), and thus the header is rejected by the viewer.

The fix is thankfully simple and will be part of next releases. Since you are building the viewer yourself, you can fix it by editing linden/indra/newview/llmeshrepository.cpp around line 2987 and replacing:
Code:
      if (header_bytes > 0 && !header.has("404") && header.has("version") &&
         header["version"].asInteger() <= MAX_MESH_VERSION)

with:
Code:
      if (header_bytes > 0 && !header.has("404") &&
          header["version"].asInteger() <= MAX_MESH_VERSION)

Author:  Mayumi Hirano [ 2016-09-19 20:36:10 ]
Post subject:  Re: LLMeshRepository not work? (OpenSim of localport)

Thank you for your prompt reply.
I am looking forward to next releases. :D

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/