Color Management: fixed crash when changing display device in screenshot save operator
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 18 Sep 2012 10:11:46 +0000 (10:11 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 18 Sep 2012 10:11:46 +0000 (10:11 +0000)
commit3d9d7275b58ff3ca6215236ff580a2bdb6b65264
tree58cc3ed48fd8e09951640db8f980dd8d3608a949
parentc50c654543b5928d29cc841d1bffb709332f9c6c
Color Management: fixed crash when changing display device  in screenshot save operator

In fact, color management settings shouldn't be editing from this operator since
screenshot is using OpenGL which is in sRGB space, but fixed issues with Image
Format initialization and added NULL pointer checks.
source/blender/blenkernel/intern/image.c
source/blender/editors/screen/screendump.c
source/blender/makesrna/intern/rna_color.c