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:
Diffstat (limited to 'source/blender/editors/space_node/node_templates.c')
-rw-r--r--source/blender/editors/space_node/node_templates.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/source/blender/editors/space_node/node_templates.c b/source/blender/editors/space_node/node_templates.c
index c75c16e61c5..44639b1295c 100644
--- a/source/blender/editors/space_node/node_templates.c
+++ b/source/blender/editors/space_node/node_templates.c
@@ -512,7 +512,7 @@ static void ui_template_node_link_menu(bContext *C, uiLayout *layout, void *but_
bNodeTreeType *ntreetype = arg->ntree->typeinfo;
uiBlockSetCurLayout(block, layout);
- split = uiLayoutSplit(layout, 0.0f, FALSE);
+ split = uiLayoutSplit(layout, 0.0f, false);
arg->bmain = bmain;
arg->scene = scene;
@@ -521,7 +521,7 @@ static void ui_template_node_link_menu(bContext *C, uiLayout *layout, void *but_
if (ntreetype && ntreetype->foreach_nodeclass)
ntreetype->foreach_nodeclass(scene, arg, node_menu_column_foreach_cb);
- column = uiLayoutColumn(split, FALSE);
+ column = uiLayoutColumn(split, false);
uiBlockSetCurLayout(block, column);
if (sock->link) {
@@ -588,9 +588,9 @@ static void ui_node_draw_node(uiLayout *layout, bContext *C, bNodeTree *ntree, b
if (node->typeinfo->draw_buttons) {
if (node->type != NODE_GROUP) {
- split = uiLayoutSplit(layout, 0.35f, FALSE);
- col = uiLayoutColumn(split, FALSE);
- col = uiLayoutColumn(split, FALSE);
+ split = uiLayoutSplit(layout, 0.35f, false);
+ col = uiLayoutColumn(split, false);
+ col = uiLayoutColumn(split, false);
node->typeinfo->draw_buttons(col, C, &nodeptr);
}
@@ -632,9 +632,9 @@ static void ui_node_draw_input(uiLayout *layout, bContext *C, bNodeTree *ntree,
BLI_snprintf(label, UI_MAX_NAME_STR, "%s%s:", label, IFACE_(input->name));
/* split in label and value */
- split = uiLayoutSplit(layout, 0.35f, FALSE);
+ split = uiLayoutSplit(layout, 0.35f, false);
- row = uiLayoutRow(split, TRUE);
+ row = uiLayoutRow(split, true);
if (depth > 0) {
uiBlockSetEmboss(block, UI_EMBOSSN);
@@ -657,7 +657,7 @@ static void ui_node_draw_input(uiLayout *layout, bContext *C, bNodeTree *ntree,
bt->drawflag = UI_BUT_TEXT_LEFT;
if (dependency_loop) {
- row = uiLayoutRow(split, FALSE);
+ row = uiLayoutRow(split, false);
uiItemL(row, IFACE_("Dependency Loop"), ICON_ERROR);
}
else if (lnode) {
@@ -680,22 +680,22 @@ static void ui_node_draw_input(uiLayout *layout, bContext *C, bNodeTree *ntree,
case SOCK_BOOLEAN:
case SOCK_RGBA:
case SOCK_STRING:
- row = uiLayoutRow(split, TRUE);
+ row = uiLayoutRow(split, true);
uiItemR(row, &inputptr, "default_value", 0, "", ICON_NONE);
break;
case SOCK_VECTOR:
- row = uiLayoutRow(split, FALSE);
- col = uiLayoutColumn(row, FALSE);
+ row = uiLayoutRow(split, false);
+ col = uiLayoutColumn(row, false);
uiItemR(col, &inputptr, "default_value", 0, "", ICON_NONE);
break;
default:
- row = uiLayoutRow(split, FALSE);
+ row = uiLayoutRow(split, false);
break;
}
}
else
- row = uiLayoutRow(split, FALSE);
+ row = uiLayoutRow(split, false);
uiTemplateNodeLink(row, ntree, node, input);
}