[Opensim-dev] Folder numbers

Kevin Cozens kevin at ve3syb.ca
Sun Aug 9 14:43:41 UTC 2015


On 15-08-07 11:47 AM, Diva Canto wrote:
> Folder is None = -1
> https://bitbucket.org/lindenlab/viewer-release/src/9f2f82e7c37127106b340b18c3a938f1ecf121cf/indra/llinventory/llfoldertype.h?at=default#llfoldertype.h-35

Is the migration the following (in pseudo code):

If folder type == 8 and parent folder != zeroUUID
    set folder type to -1
If folder type == 9 and parent folder == zeroUUID
    set folder type to 8
If folder type == 9 and parent folder != zeroUUID
    set folder type to -1
If folder name == "My Suitcase"
    set folder type to 100


I think the above covers all the situations.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/           |"Nerds make the shiny things that distract
Owner of Elecraft K2 #2172      | the mouth-breathers, and that's why we're
                                 | powerful!"
#include <disclaimer/favourite> |             --Chris Hardwick


More information about the Opensim-dev mailing list