Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2014-11-21 17:26:01



Reply to topic  [ 7 posts ] 
remoutfit oddity with multiple shirts 
Author Message

Joined: 2010-03-14 21:12:58
Posts: 77
I suppose this is almost a bug, but the behaviour isn't defined as far as I know so I'm calling it an oddity. It is surely unexpected behaviour.

When I wear two shirts and remove them with @remoutfit:shirt=force, It removes the innermost shirt only. When I wear three shirts, it removes the inner and outer shirts, leaving the second shirt. In both cases a second @remoutfit:shirt=force removes the second shirt.

I'm not sure if remoutfit should remove all shirts on a layer or just the outermost, but the current behaviour is unexpected and odd.

I noticed this behaviour first in 1.26.3.5 and it is still present in 1.26.3.7.

My System:
Cool VL Viewer 1.26.3 (7) Feb 22 2012 10:58:22 (Cool VL Viewer)
RestrainedLove viewer v2.08.03.20 (Cool VL Viewer v1.26.3)
Release Notes

Built with GCC version 40102

You are at (home)
Second Life Server 12.02.06.248938
Release Notes

CPU: Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz (1600 MHz)
Memory: 12038 MB
OS Version: Linux 3.2.0-1-amd64 #1 SMP Fri Feb 17 05:17:36 UTC 2012 x86_64
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce GTX 470/PCIe/SSE2
OpenGL Version: 4.2.0 NVIDIA 295.20

libcurl Version: libcurl/7.20.1 OpenSSL/0.9.7c zlib/1.2.3.3 c-ares/1.7.1
J2C Decoder Version: OpenJPEG: 1.3.0, Runtime: 1.3.0
Audio Driver Version: FMOD version 3.750000
Qt Webkit Version: 4.7.1 (version number hard-coded)
Packets Lost: 672/92434 (0.7%)


2012-02-23 23:10:27
Profile

Joined: 2009-03-17 18:42:51
Posts: 2773
Definitely a bug. Found and fixed it. Fix will be in v1.26.3.8.


2012-02-24 00:33:56
Profile WWW

Joined: 2012-02-09 21:01:50
Posts: 238
Henri Beauchamp wrote:
Definitely a bug. Found and fixed it. Fix will be in v1.26.3.8.


Does it remove all of them with the fix or the outermost?


2012-02-27 20:24:24
Profile

Joined: 2009-03-17 18:42:51
Posts: 2773
Tillie wrote:
Henri Beauchamp wrote:
Definitely a bug. Found and fixed it. Fix will be in v1.26.3.8.


Does it remove all of them with the fix or the outermost?
All of them, as documented in the RestrainedLove API.


2012-02-27 20:44:39
Profile WWW

Joined: 2010-03-14 21:12:58
Posts: 77
Henri Beauchamp wrote:
Tillie wrote:
Henri Beauchamp wrote:
Definitely a bug. Found and fixed it. Fix will be in v1.26.3.8.


Does it remove all of them with the fix or the outermost?
All of them, as documented in the RestrainedLove API.


I don't mean to be a pain, Henri, but where is that documented? When I wrote the original post, I looked at the RestrainedLove API documentation at http://wiki.secondlife.com/w/index.php?title=LSL_Protocol%2FRestrainedLoveAPI and found no mention of multiple clothing items per layer. That's why I said the behaviour was undocumented. Did I miss something? Is there some other documentation on how RLV is supposed to handle clothing layers?

Thanks!


2012-02-28 05:45:07
Profile

Joined: 2009-03-17 18:42:51
Posts: 2773
It's how Marine (tried to) code it: she was just removing the layers in the wrong order (increasing the index in the loop instead of decreasing it; layers being automatically renumbered when you remove them, if you remove index 0, index 1 becomes 0 and when you next remove index 1, you are actually skipping old index 1 and removing old index 2, etc...).

Believe me, it's how it's intended to work !


2012-02-28 08:40:49
Profile WWW

Joined: 2010-03-14 21:12:58
Posts: 77
Henri Beauchamp wrote:
It's how Marine (tried to) code it: she was just removing the layers in the wrong order (increasing the index in the loop instead of decreasing it; layers being automatically renumbered when you remove them, if you remove index 0, index 1 becomes 0 and when you next remove index 1, you are actually skipping old index 1 and removing old index 2, etc...).

*laughs* A classic looping error. I admit i've done it more than once over the years.

Henri Beauchamp wrote:
Believe me, it's how it's intended to work !

When I went to elementary school in the US, the teachers had special editions of the textbooks that had the answers to the problems given at the end of each chapter, as well as extra background information to give them a better understanding of what they were teaching. They were called "Teacher's Editions." The student editions had the problems without answers and students were expected to get any extra information from class lectures. In the case of the RLV, you definetly have the Teacher's Edition, since you have worked so closely with it for so long. So you can be sure I believe you! Hopefully Marine will add multiple items on a clothing layers to the RLV API documentation soon.

Thanks again.


2012-03-01 02:31:29
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 0 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 for PTF.