diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-09 04:25:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-09 04:25:59 +0300 |
commit | 53139432dd5dd308c44cb3c536f24913afa7ccb2 (patch) | |
tree | d0d6c8f5311147a11613a3448aca28a784905d65 /source/blender | |
parent | 3f9bbde4a6668b19a7a7f291dc2305e6341d5b5d (diff) |
image.depth, 96/128 for float color images, was 24/32 for byte images.
also use <> for system includes
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/makesrna/intern/rna_image.c | 2 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_particlesystem.c | 2 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_smoke.c | 2 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_subsurf.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c index 6fa0e2bae82..64b7e589ecb 100644 --- a/source/blender/makesrna/intern/rna_image.c +++ b/source/blender/makesrna/intern/rna_image.c @@ -234,7 +234,7 @@ static int rna_Image_depth_get(PointerRNA *ptr) if(!ibuf) depth= 0; else if(ibuf->rect_float) - depth= 128; + depth= ibuf->depth * 4; else depth= ibuf->depth; diff --git a/source/blender/modifiers/intern/MOD_particlesystem.c b/source/blender/modifiers/intern/MOD_particlesystem.c index 1a6cbc4781f..7e94a76598b 100644 --- a/source/blender/modifiers/intern/MOD_particlesystem.c +++ b/source/blender/modifiers/intern/MOD_particlesystem.c @@ -35,7 +35,7 @@ */ -#include "stddef.h" +#include <stddef.h> #include "DNA_material_types.h" diff --git a/source/blender/modifiers/intern/MOD_smoke.c b/source/blender/modifiers/intern/MOD_smoke.c index 351a86624be..b13d86a609e 100644 --- a/source/blender/modifiers/intern/MOD_smoke.c +++ b/source/blender/modifiers/intern/MOD_smoke.c @@ -35,7 +35,7 @@ */ -#include "stddef.h" +#include <stddef.h> #include "MEM_guardedalloc.h" diff --git a/source/blender/modifiers/intern/MOD_subsurf.c b/source/blender/modifiers/intern/MOD_subsurf.c index 0d0e81925f7..fc9958b08d0 100644 --- a/source/blender/modifiers/intern/MOD_subsurf.c +++ b/source/blender/modifiers/intern/MOD_subsurf.c @@ -35,7 +35,7 @@ */ -#include "stddef.h" +#include <stddef.h> #include "DNA_scene_types.h" #include "DNA_object_types.h" |