On 30/03/2015 at 10:32, xxxxxxxx wrote:
I've just discovered that:
path = texture[c4d.BITMAPSHADER_FILENAME]
only gives you the full path to a texture if C4D didn't find it in one of the 'Texture Paths' set here: Preference>Files>Texture Paths
I need to always be able to get the full path to the texture.
I can't just search all the texture paths recursively for a matching file name, because there could be more than one result because the same file name could be present in different folders.
How do I get the full path to a texture?
C4D must have it stored somewhere.