[Bf-blender-cvs] CVS commit: blender/source/blender/src screendump.c toolbox.c

Ton Roosendaal ton at blender.org
Sun Jul 9 15:00:42 CEST 2006


ton (Ton Roosendaal) 2006/07/09 15:00:42 CEST

  Modified files:
    blender/source/blender/src screendump.c toolbox.c 
  
  Log:
  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.)
  
  Revision  Changes    Path
  1.14      +10 -26    blender/source/blender/src/screendump.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/screendump.c.diff?r1=1.13&r2=1.14&cvsroot=bf-blender>
  1.136     +15 -2     blender/source/blender/src/toolbox.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/toolbox.c.diff?r1=1.135&r2=1.136&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list