Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2020-05-30 17:45:20

Reply to topic  [ 3 posts ] 
Sequental spaces are being combined in chat 
Author Message

Joined: 2014-03-22 03:17:49
Posts: 35
Reply with quote
Hi Henri,

I ran into an odd issue today. I was trying to issue a chat command that referenced some furniture that had multiple sequential spaces in its name like this: 'a b'. (Not easy to spot unless you take it to a mono-spaced type). I found it was impossible to say the furniture's name in chat because the viewer is compressing sequential spaces into a single space.

For example, if i say, "This has a lot of spaces.", I instead get, "This has a lot of spaces.".

The current LL viewer does not do this compression.

Is this a feature you have implemented, and is there a toggle for it?
May I request a toggle if its something you set up and there is currently no toggle?
Is it something else I am confused about?


2020-04-20 00:05:57

Joined: 2009-03-17 18:42:51
Posts: 4214
Reply with quote
The viewer always behaved this way, and no, this is not something I changed... It is not either a "bug", but the expected behaviour (at least for v1 viewers).

Apparently, LL changed their code (it's still v1 code in my viewer) for the gesture manager parsing (the side effect of this parsing being precisely the removal of duplicate spaces, as commented in indra/newview/llgesturemgr.cpp, around line 668).

For the next release, and to match LL's viewer new behaviour, I added some code to LLGestureManager::triggerAndReviseString() so that when no gesture substitution is found, the text is left unchanged (and multiple spaces can pass through).

2020-04-20 08:39:11
Profile WWW

Joined: 2014-03-22 03:17:49
Posts: 35
Reply with quote
Ahhh, okay! Thank you Henri, that's another interesting history lesson in LL viewer development then. Up until just yesterday I had never even noticed the space-combining behavior... Embarrassing considering how long i have been scripting for SL.

Thank you for accepting what really turned out to be a feature request :)

.... And stay healthy out there!


2020-04-20 16:57:01
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest

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:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.