Commit: 89bb9b46a4850ddc59295978286cbdfb6b6762a5
Author: Joshua Leung
Date: Wed Nov 12 19:15:34 2014 +1300
Branches: GPencil_EditStrokes
https://developer.blender.org/rB89bb9b46a4850ddc59295978286cbdfb6b6762a5
Fix for UI api changes in master
===================================================================
M source/blender/editors/animation/anim_channels_defines.c
===================================================================
diff --git a/source/blender/editors/animation/anim_channels_defines.c
b/source/blender/editors/animation/anim_channels_defines.c
index 4b92ba0..0d4cd68 100644
--- a/source/blender/editors/animation/anim_channels_defines.c
+++ b/source/blender/editors/animation/anim_channels_defines.c
@@ -3903,13 +3903,13 @@ void ANIM_channel_draw_widgets(bContext *C,
bAnimContext *ac, bAnimListElem *ale
RNA_pointer_create(ale->id, &RNA_GPencilLayer,
ale->data, &ptr);
- uiBlockSetEmboss(block, UI_EMBOSS);
+ UI_block_emboss_set(block, UI_EMBOSS);
- uiDefButR(block, COLOR, 1, "", offset, yminc,
ICON_WIDTH, ICON_WIDTH,
+ uiDefButR(block, UI_BTYPE_COLOR, 1, "", offset, yminc,
ICON_WIDTH, ICON_WIDTH,
&ptr, "color", -1,
0, 0, 0, 0, gpl->info);
- uiBlockSetEmboss(block, UI_EMBOSSN);
+ UI_block_emboss_set(block, UI_EMBOSS_NONE);
offset += ICON_WIDTH;
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs