[Bf-blender-cvs] [2feae77] wiggly-widgets: Draw bone colors for face map widgets with transparency
Julian Eisel
noreply at git.blender.org
Thu Nov 19 21:36:29 CET 2015
Commit: 2feae77d52b9aa12407d5c3bf18a1a7f3601866f
Author: Julian Eisel
Date: Thu Nov 19 21:35:03 2015 +0100
Branches: wiggly-widgets
https://developer.blender.org/rB2feae77d52b9aa12407d5c3bf18a1a7f3601866f
Draw bone colors for face map widgets with transparency
===================================================================
M source/blender/editors/space_view3d/view3d_widgets.c
===================================================================
diff --git a/source/blender/editors/space_view3d/view3d_widgets.c b/source/blender/editors/space_view3d/view3d_widgets.c
index b3706e1..d14cdef 100644
--- a/source/blender/editors/space_view3d/view3d_widgets.c
+++ b/source/blender/editors/space_view3d/view3d_widgets.c
@@ -303,8 +303,8 @@ void WIDGETGROUP_armature_facemaps_create(const bContext *C, wmWidgetGroup *wgro
/* get custom bone group color */
if (bcol) {
- rgba_uchar_to_float(col, (unsigned char *)bcol->solid);
- rgba_uchar_to_float(col_hi, (unsigned char *)bcol->active);
+ rgb_uchar_to_float(col, (unsigned char *)bcol->solid);
+ rgb_uchar_to_float(col_hi, (unsigned char *)bcol->active);
}
widget = WIDGET_facemap_new(wgroup, fmap->name, 0, fmap_ob, BLI_findindex(&fmap_ob->fmaps, fmap));
More information about the Bf-blender-cvs
mailing list