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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-09-04 22:47:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-04 22:47:08 +0400
commit306e2b48786bc27d818c1ee04382cf654310c3a0 (patch)
tree8d719a1b77390a1ddf77ade3378292297829ddb9 /source/blender/editors/space_node/node_buttons.c
parent068cceab6c491ddbe3a3baec560900a57db279b2 (diff)
stule cleanup
Diffstat (limited to 'source/blender/editors/space_node/node_buttons.c')
-rw-r--r--source/blender/editors/space_node/node_buttons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_node/node_buttons.c b/source/blender/editors/space_node/node_buttons.c
index e50b1dc4ba6..da077d93641 100644
--- a/source/blender/editors/space_node/node_buttons.c
+++ b/source/blender/editors/space_node/node_buttons.c
@@ -110,8 +110,8 @@ static void active_node_panel(const bContext *C, Panel *pa)
uiItemR(col, &ptr, "use_custom_color", UI_ITEM_R_ICON_ONLY, NULL, ICON_NONE);
sub = uiLayoutRow(col, FALSE);
if (!(node->flag & NODE_CUSTOM_COLOR))
- uiLayoutSetEnabled(sub, 0);
- uiItemR(sub, &ptr, "color", 0, "", 0);
+ uiLayoutSetEnabled(sub, FALSE);
+ uiItemR(sub, &ptr, "color", 0, "", ICON_NONE);
col = uiLayoutColumn(row, TRUE);
uiItemO(col, "", ICON_ZOOMIN, "node.node_color_preset_add");