win10 and GTX 1060
Short description of error
Wrong texture image path after appending using scripts
Exact steps for others to reproduce the error
I am going to append a cloth from A file to B file.
If I use relative path for the image of the texture of the cloth, the image path will go wrong after appending using scripts.
I used PowerShell to run the command, "blender -b -P C.py"
blendfile = "C:\\XXXXXX\\A.blend"
section = "\\Group\\"
object = "XXXX"
filepath = blendfile + section + object
directory = blendfile + section
filename = object
filepath=filepath, filename=filename, directory=directory)
If the path in A is relative path, I will get a wrong path for the cloth texture in B..... Absolute path works well.
The script works well, if I open Blender GUI. However, running in non-GUI mode, the texture path go wrong....