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')
-rw-r--r--source/blender/editors/space_node/drawnode.c30
-rw-r--r--source/blender/editors/space_node/node_select.c2
-rw-r--r--source/blender/editors/space_node/space_node.c2
3 files changed, 17 insertions, 17 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c
index 88cb9f6e81a..3d907b49940 100644
--- a/source/blender/editors/space_node/drawnode.c
+++ b/source/blender/editors/space_node/drawnode.c
@@ -811,17 +811,17 @@ static void node_composit_buts_color_spill(uiLayout *layout, bContext *C, Pointe
uiItemR(col, NULL, 0, ptr, "algorithm", 0);
if(RNA_enum_get(ptr, "algorithm")==0) {
- uiItemL(col, "Limiting Channel:", 0);
- row=uiLayoutRow(col,0);
- uiItemR(row, NULL, 0, ptr, "limit_channel", UI_ITEM_R_EXPAND);
+ uiItemL(col, "Limiting Channel:", 0);
+ row=uiLayoutRow(col,0);
+ uiItemR(row, NULL, 0, ptr, "limit_channel", UI_ITEM_R_EXPAND);
}
uiItemR(col, NULL, 0, ptr, "ratio", UI_ITEM_R_SLIDER);
uiItemR(col, NULL, 0, ptr, "unspill", 0);
if (RNA_enum_get(ptr, "unspill")== 1) {
- uiItemR(col, NULL, 0, ptr, "unspill_red", UI_ITEM_R_SLIDER);
- uiItemR(col, NULL, 0, ptr, "unspill_green", UI_ITEM_R_SLIDER);
- uiItemR(col, NULL, 0, ptr, "unspill_blue", UI_ITEM_R_SLIDER);
+ uiItemR(col, NULL, 0, ptr, "unspill_red", UI_ITEM_R_SLIDER);
+ uiItemR(col, NULL, 0, ptr, "unspill_green", UI_ITEM_R_SLIDER);
+ uiItemR(col, NULL, 0, ptr, "unspill_blue", UI_ITEM_R_SLIDER);
}
}
@@ -866,9 +866,9 @@ static void node_composit_buts_channel_matte(uiLayout *layout, bContext *C, Poin
uiItemR(col, NULL, 0, ptr, "algorithm", 0);
if(RNA_enum_get(ptr, "algorithm")==0) {
- uiItemL(col, "Limiting Channel:", 0);
- row=uiLayoutRow(col,0);
- uiItemR(row, NULL, 0, ptr, "limit_channel", UI_ITEM_R_EXPAND);
+ uiItemL(col, "Limiting Channel:", 0);
+ row=uiLayoutRow(col,0);
+ uiItemR(row, NULL, 0, ptr, "limit_channel", UI_ITEM_R_EXPAND);
}
uiItemR(col, NULL, 0, ptr, "high", UI_ITEM_R_SLIDER);
@@ -1103,9 +1103,9 @@ static void node_composit_set_butfunc(bNodeType *ntype)
case CMP_NODE_SCALE:
ntype->uifunc= node_composit_buts_scale;
break;
- case CMP_NODE_ROTATE:
- ntype->uifunc=node_composit_buts_rotate;
- break;
+ case CMP_NODE_ROTATE:
+ ntype->uifunc=node_composit_buts_rotate;
+ break;
case CMP_NODE_CHANNEL_MATTE:
ntype->uifunc= node_composit_buts_channel_matte;
break;
@@ -1129,13 +1129,13 @@ static void node_composit_set_butfunc(bNodeType *ntype)
break;
case CMP_NODE_VIEW_LEVELS:
ntype->uifunc=node_composit_buts_view_levels;
- break;
+ break;
case CMP_NODE_COLORBALANCE:
ntype->uifunc=node_composit_buts_colorbalance;
- break;
+ break;
case CMP_NODE_HUECORRECT:
ntype->uifunc=node_composit_buts_huecorrect;
- break;
+ break;
default:
ntype->uifunc= NULL;
}
diff --git a/source/blender/editors/space_node/node_select.c b/source/blender/editors/space_node/node_select.c
index 9235a0547ca..d55b703619b 100644
--- a/source/blender/editors/space_node/node_select.c
+++ b/source/blender/editors/space_node/node_select.c
@@ -127,7 +127,7 @@ static int node_select_exec(bContext *C, wmOperator *op)
}
}
- /* send notifiers */
+ /* send notifiers */
WM_event_add_notifier(C, NC_NODE|ND_NODE_SELECT, NULL);
/* allow tweak event to work too */
diff --git a/source/blender/editors/space_node/space_node.c b/source/blender/editors/space_node/space_node.c
index 112a2bc49b6..6a261957c83 100644
--- a/source/blender/editors/space_node/space_node.c
+++ b/source/blender/editors/space_node/space_node.c
@@ -297,7 +297,7 @@ static void node_header_area_draw(const bContext *C, ARegion *ar)
SpaceNode *snode= CTX_wm_space_node(C);
Scene *scene= CTX_data_scene(C);
- /* find and set the context */
+ /* find and set the context */
snode_set_context(snode, scene);
ED_region_header(C, ar);