Commit: 80f3956972aad9822ff9d751578ee3d984eb3bec
Author: Lukas Tönne
Date: Mon Feb 17 09:26:19 2014 +0100
https://developer.blender.org/rB80f3956972aad9822ff9d751578ee3d984eb3bec
Fix T38643: Frame labels are invisible with default theme.
The color for frame labels was a mix of the text color (black by
default) and the node theme color with a factor of 0.8, which
coincidentally is the same as the node body color.
Changed it to 0.4, which is the same as the regular node labels use.
===================================================================
M source/blender/editors/space_node/drawnode.c
===================================================================
diff --git a/source/blender/editors/space_node/drawnode.c
b/source/blender/editors/space_node/drawnode.c
index 5603650..8c6a807 100644
--- a/source/blender/editors/space_node/drawnode.c
+++ b/source/blender/editors/space_node/drawnode.c
@@ -401,7 +401,7 @@ static void node_draw_frame_label(bNodeTree *ntree, bNode
*node, const float asp
BLF_size(fontid, MIN2(24, font_size), U.dpi); /* clamp otherwise it can
suck up a LOT of memory */
/* title color */
- UI_ThemeColorBlendShade(TH_TEXT, color_id, 0.8f, 10);
+ UI_ThemeColorBlendShade(TH_TEXT, color_id, 0.4f, 10);
width = BLF_width(fontid, label, sizeof(label));
ascender = BLF_ascender(fontid);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs