Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-29 10:38:17



Reply to topic  [ 2 posts ] 
Auto rename glitch for object attached at 'root' 
Author Message

Joined: 2011-10-07 10:39:20
Posts: 181
Reply with quote
Hi Henri,

seems there is a bug with RLV attachment auto renaming for the location '(root)'.

It can be seen with 'Autonomy Control Systems CCU Handle' Object, which is attached to 'root' via an rlv given folder (e.g. "~something/Handle").

Every time it is attached, another '(root)' is added to the name, as if it is not detected as a valid name for an attachment point.

e.g.
First attaching: "Handle (root)"
Second attaching: "Handle (root)(root)"
Third attaching: "Handle (root)(root)(root)"
and so on, until it gets truncated by max name length.


2016-06-29 19:35:07
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Yes, that's a bug... "Root" has been renamed "Avatar Center" by LL some time after that new attachment point got introduced. To preserve compatibility with existing scripts using "root", RestrainedLove viewers internally renamed back "Avatar Center" into "Root". There's however an issue with how the translation code got changed (now, all joint names are "translatable"), and this broke the old algorithm used by RestrainedLove to find the attachment point from the name of an item in the inventory.

I'll have to recode this, especially since the many new Bento joints got introduced with super long names that I translated into shorter ones in the Cool VL Viewer (abbreviating "Left" to "L" and "Right" to "R" for example, keeping consistency with how the old joints with long name were abbreviated), and that bug might well bite them too...

EDIT: LOL ! That's simpler than what I thought... a "==" instead of a "=" to affect the "Root" attachment name to the search string in place of "Avatar Center", in the search algorithm... Bug fixed for next releases.


2016-06-29 23:12:00
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: Bing [Bot] and 23 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.