[Bf-blender-cvs] CVS commit: blender/source/blender/src screendump.c toolbox.c
ton at blender.org
Sun Jul 9 15:00:42 CEST 2006
ton (Ton Roosendaal) 2006/07/09 15:00:42 CEST
blender/source/blender/src screendump.c toolbox.c
- 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.)
Revision Changes Path
1.14 +10 -26 blender/source/blender/src/screendump.c
1.136 +15 -2 blender/source/blender/src/toolbox.c
More information about the Bf-blender-cvs