diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-22 15:54:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-22 15:54:53 +0400 |
commit | 5c891386842037910f5d522c7d3ffb1792b804db (patch) | |
tree | 133e551d3bf684ea1ccaa8a7d56a4f57b879a95a /source/blender/makesrna/intern/rna_image.c | |
parent | 69d0a68f0d7ed82b9701c5a7832f609e4ea4fd75 (diff) |
style cleanup: comments
Diffstat (limited to 'source/blender/makesrna/intern/rna_image.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_image.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c index 792635ba5ae..e5939296f5a 100644 --- a/source/blender/makesrna/intern/rna_image.c +++ b/source/blender/makesrna/intern/rna_image.c @@ -189,11 +189,11 @@ static void rna_Image_file_format_set(PointerRNA *ptr, int value) ImBuf *ibuf; int ftype = BKE_imtype_to_ftype(value); - /* +#if 0 ibuf= BKE_image_get_ibuf(image, NULL); if (ibuf) ibuf->ftype= ftype; - */ +#endif /* to be safe change all buffer file types */ for (ibuf = image->ibufs.first; ibuf; ibuf = ibuf->next) { @@ -603,9 +603,9 @@ static void rna_def_image(BlenderRNA *brna) RNA_def_property_update(prop, NC_IMAGE|ND_DISPLAY, NULL); /* - Image.has_data and Image.depth are temporary, - Update import_obj.py when they are replaced (Arystan) - */ + * Image.has_data and Image.depth are temporary, + * Update import_obj.py when they are replaced (Arystan) + */ prop = RNA_def_property(srna, "has_data", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_funcs(prop, "rna_Image_has_data_get", NULL); RNA_def_property_clear_flag(prop, PROP_EDITABLE); |