Blender Git Commit Log

Git Commits -> Revision 1ce6c22

Revision 1ce6c22 by Ton Roosendaal (master)
July 9, 2006, 13:00 (GMT)
Bugfix #4649

Three issues:
- When saving a file, without extension added, and no filename provided,
the saving code received the directory name only. That's a potential
danger of getting directories deleted.
Added in the saveover() function a check for this, and return an error
when you try to save over a directory.

- Screendump did not add file extensions yet, when indicated todo so.

- Screendump code was duplicating all image type cases, whilst we have a
nice BKE_write_ibuf() call for that now. (Bug was that this code did not
check for BMP, saving the file in default format.)

Commit Details:

Full Hash: 1ce6c22f2700b2473f5ad8e0c79ff5802fb65a62
SVN Revision: 8127
Parent Commit: cf313f8
Lines Changed: +23, -26

2 Modified Paths:

/source/blender/src/screendump.c (+9, -25) (Diff)
/source/blender/src/toolbox.c (+14, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021