Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJiri Hnidek <jiri.hnidek@tul.cz>2006-10-10 19:30:57 +0400
committerJiri Hnidek <jiri.hnidek@tul.cz>2006-10-10 19:30:57 +0400
commitbba546e5fbb43e200e8b1eac6597ba3e8c653080 (patch)
treeb9752e59f85ac303236c2f0edc1b2f9888038341 /source
parente4c38c5740809718a53d28ab87587f1b55d8ceda (diff)
- blender should work corretly with new verse gimp plugin now
- it uses "color_r", "color_g", "color_b" and "transparency" for naming color channels
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/verse_image.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/src/verse_image.c b/source/blender/src/verse_image.c
index 78da14220e8..0e6da6602df 100644
--- a/source/blender/src/verse_image.c
+++ b/source/blender/src/verse_image.c
@@ -279,13 +279,13 @@ void post_bitmap_tile_set(VBitmapLayer *vblayer, unsigned int xs, unsigned int y
if(!ibuf) return;
/* select channel due to verse layer name */
- if(strcmp(vblayer->name,"col_r")==0)
+ if(strcmp(vblayer->name,"color_r")==0)
channel = 0;
- else if(strcmp(vblayer->name,"col_g")==0)
+ else if(strcmp(vblayer->name,"color_g")==0)
channel = 1;
- else if(strcmp(vblayer->name, "col_b")==0)
+ else if(strcmp(vblayer->name, "color_b")==0)
channel = 2;
- else if(strcmp(vblayer->name,"alpha")==0)
+ else if(strcmp(vblayer->name,"transparency")==0)
channel = 3;
i_rect = rect = (unsigned char*)ibuf->rect;