Get ALL relative Textures?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 17/03/2011 at 15:30, xxxxxxxx wrote:

    I'm treating lots of textures, bitmaps, and have loads of COFFEE scripts
    for that. Porting them over to Python I wonder if there is anything like
    the "GenerateTexturePath(name,fn)" that return -all- instances within
    itself (default doc path, default app path and the userpaths).

    To me it looks as if I need to do my own iterative search for each
    of the possible levels:
    app & app/tex
    doc & doc/tex
    and all user paths 0 to 9. (GetGlobalTexturePath(i) )

    Is this correct, or have I missed the Python object for this?

    (All absolute textures is no problem)

    Cheers
    Lennart



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 17/03/2011 at 16:28, xxxxxxxx wrote:

    Just looking into dircache.listdir(), so maybe it ain't to bad.

    Cheers
    Lennart


Log in to reply