Blender Git Commit Log

Git Commits -> Revision 259b4c1

Revision 259b4c1 by Campbell Barton (master)
September 6, 2010, 12:54 (GMT)
bugfix [#23674] Fix for texture path corruptions (bug 23337)
from Mathew Burrack (mburrack)
...also applied a fix so this flag wont be written but including this patch for older startup.blend's.

--- from the tracker
I've created a patch for the texture path corruption bug, 23337. Basically, G_FILE_RELATIVE_REMAP was improperly getting
saved out to the startup.blend file, causing issues when the autosave timer went off. The proper fix is to mask out
that flag so it doesn't get written out to .blend files itself, but since that doesn't fix any pre-existing startup.blend
files, I just mask it out when startup.blend is read in instead.

I've tested it locally and so far, it seems to fix all the issues I've had with texture image paths getting corrupted.
I haven't figured out how to properly test the remap-on-save option in the save as dialog, though, so I don't know if
I accidentally broke that or not (although I don't see how I could have).

Commit Details:

Full Hash: 259b4c12e3010692a2f45d1493005b242f14cb6c
SVN Revision: 31787
Parent Commit: 629c19f
Lines Changed: +7, -3

2 Modified Paths:

/source/blender/blenloader/intern/writefile.c (+3, -3) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021