Page MenuHome

Tails of full pathes in .blend files after making all paths relative
Closed, InvalidPublicTO DO


--- Operating System, Graphics card ---

MS Windows 7, v. 6.1 build 7601: Service Pack 1

--- Blender version with error, and version that worked ---

Blender 2.67b (2.67.0 r57141)

--- Short description of error ---

After I make all paths relative and save .blend file the previous full paths' tails are kept in file after terminating zero. This is insecure and I do not want people to be able to see my paths.

--- Steps for others to reproduce the error (preferably based on attached .blend file) ---

Import 3DS file with external .JPG texture.
Save as .blend file.
File - External Data - Make all paths relative
Save as .blend file.
Go to HEX viewer and watch the tails.

Event Timeline

All string operations in Blender only add trailing zeros to mark end-of-strings, that means you can see it has residues in HEX editors anytime.
The option "make all paths relative" only does parts of the strings in a file too, so even when we'd make this clear strings, it wouldn't answer to your demands entirely.

As usual here, we keep bugs open for issues where code fails to work as intended. What people expect to happen is feature requests or todo items.

We already listed a recode of all filepath handling in Blender to bring it in a general API and module (it's very shattered now). I've linked this report to the todo there as well:

Ton Roosendaal (ton) changed the task status from Unknown Status to Unknown Status.Jun 12 2013, 4:36 PM