Blender Git Loki

Git Commits -> Revision da25b50

Revision da25b50 by Campbell Barton (master)
November 21, 2011, 23:56 (GMT)
image save operator now shares settings and UI with render & image out node.

details:
- setting format options from python isnt possible anymore since this isnt exposed via op->properties, python should use image.save() function instead.
- image save UI now hides 'Relative' option when copy is selected since it has no effect.
- default image depth is set to 8 or more if the image has no float buffer, otherwise its set to 32 or less.

other fixes:
- image new was adding an image with a filepath set to "untitled", if this file happened to exist in the current directory a save on the generated image would overwrite it, now initialize to empty path.
- BKE_ftype_to_imtype was returning an invalid value if ftype==0.

Commit Details:

Full Hash: da25b50ccb6a2a2c7d91ec588fe5c1b0e150ae4e
SVN Revision: 42045
Parent Commit: 30fd1ab
Lines Changed: +143, -137

15 Modified Paths:

/source/blender/blenkernel/BKE_image.h (+11, -11) (Diff)
/source/blender/blenkernel/BKE_writeavi.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/image.c (+13, -13) (Diff)
/source/blender/blenkernel/intern/writeavi.c (+1, -1) (Diff)
/source/blender/editors/include/UI_interface.h (+2, -2) (Diff)
/source/blender/editors/interface/interface_layout.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_utils.c (+2, -2) (Diff)
/source/blender/editors/render/render_shading.c (+2, -2) (Diff)
/source/blender/editors/sound/sound_ops.c (+1, -1) (Diff)
/source/blender/editors/space_file/file_panels.c (+1, -1) (Diff)
/source/blender/editors/space_image/image_ops.c (+104, -98) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+1, -1) (Diff)
/source/blender/render/extern/include/RE_pipeline.h (+1, -1) (Diff)
/source/blender/render/intern/source/pipeline.c (+1, -1) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021