Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-28 08:16:49



Reply to topic  [ 3 posts ] 
LLMeshRepository not work? (OpenSim of localport) 
Author Message

Joined: 2014-11-29 21:47:31
Posts: 29
Location: Japan
Reply with quote
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)


Last edited by Mayumi Hirano on 2016-09-19 20:38:13, edited 1 time in total.



2016-09-19 10:36:49
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
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)


2016-09-19 15:52:02
Profile WWW

Joined: 2014-11-29 21:47:31
Posts: 29
Location: Japan
Reply with quote
Thank you for your prompt reply.
I am looking forward to next releases. :D


2016-09-19 20:36:10
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 32 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.