better reporting for file i/o failier, use system error message in more places: Permi...
authorCampbell Barton <ideasman42@gmail.com>
Sat, 3 Jul 2010 17:47:06 +0000 (17:47 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 3 Jul 2010 17:47:06 +0000 (17:47 +0000)
commit80f6102629b746ea520d3ec54aaa6414c669a998
tree8d254cc92120eca8be6ef5b92af7be3c3626f202
parent9a85435e96af9933b282594b6ad8b23ca598d8bc
better reporting for file i/o failier, use system error message in more places: Permission Denied, No space left, File not found etc.
- blend load/save uses os message.
- image load gives os message. (remove check for slash at end of line, just let the os report an error)
- python api load image/font/text raise errors with message (was just retuning None for image and font)
- minor edits to py api errors.
12 files changed:
source/blender/blenkernel/intern/image.c
source/blender/blenkernel/intern/object.c
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/editors/space_image/image_ops.c
source/blender/editors/space_node/node_edit.c
source/blender/editors/space_sequencer/sequencer_edit.c
source/blender/makesrna/intern/rna_main_api.c
source/blender/python/generic/bgl.c
source/blender/python/generic/blf_api.c
source/blender/python/generic/bpy_internal_import.c
source/blender/windowmanager/intern/wm_files.c