and-rad / texture_bake

Streamlined PBR texture baking for Blender
GNU General Public License v3.0
4 stars 0 forks source link

Exported textures are saved in the wrong location #12

Closed and-rad closed 2 years ago

and-rad commented 2 years ago

When using relative filepaths for the export directory, the textures don't end up where they're expected. This worked before.

and-rad commented 2 years ago

The textures are created in a directory that's relative to the temporary bake file, which always sits in the OS temp directory (after changes made in 84ed4c3dd022db22e8a1da348dd30d1621c521f8), but we expect them to be created in a directory relative to the active blend file.

and-rad commented 2 years ago

Fixed with ea17b7ad328f561d2ab4060dd2903927c1dc7fd9. The export path is now always saved as an absolute path. This causes fewer internal problems and is a little safer when sharing files between users or machines.