diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-08-08 02:40:03 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-08-08 02:40:03 +0400 |
commit | 26c08392208638f5a83871808394c729577538b8 (patch) | |
tree | 397d82d798ac55f646c4d3434e96afe40f6af7a1 /source/blender/blenkernel/BKE_image.h | |
parent | 67ae5e81588f04174dcddeff2ad10cea0a69c9d6 (diff) |
disable cycles when building without python, also use const for function args in more places.
Diffstat (limited to 'source/blender/blenkernel/BKE_image.h')
-rw-r--r-- | source/blender/blenkernel/BKE_image.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_image.h b/source/blender/blenkernel/BKE_image.h index eefaac07b12..7b5abbba7f8 100644 --- a/source/blender/blenkernel/BKE_image.h +++ b/source/blender/blenkernel/BKE_image.h @@ -161,7 +161,7 @@ struct Image *BKE_image_load(struct Main *bmain, const char *filepath); struct Image *BKE_image_load_exists(const char *filepath); /* adds image, adds ibuf, generates color or pattern */ -struct Image *BKE_image_add_generated(struct Main *bmain, unsigned int width, unsigned int height, const char *name, int depth, int floatbuf, short gen_type, float color[4]); +struct Image *BKE_image_add_generated(struct Main *bmain, unsigned int width, unsigned int height, const char *name, int depth, int floatbuf, short gen_type, const float color[4]); /* adds image from imbuf, owns imbuf */ struct Image *BKE_image_add_from_imbuf(struct ImBuf *ibuf); |