Don't create or truncate file when checking for writeable.
authorMartin Poirier <theeth@yahoo.com>
Sun, 17 May 2009 16:10:39 +0000 (16:10 +0000)
committerMartin Poirier <theeth@yahoo.com>
Sun, 17 May 2009 16:10:39 +0000 (16:10 +0000)
commit351086dbb83fa42d393a8a4f64287c2b90e23d97
tree100f21040cd97cec94b994a08103351d64155406
parent20042dbba57907cfb1fcdf64438035a465c4a722
Don't create or truncate file when checking for writeable.

That was a nasty bug, would truncate current image file on disk when opening menu to load a new one.
source/blender/blenlib/intern/fileops.c