diff options
Diffstat (limited to 'source/blender/editors/space_node/node_draw.c')
-rw-r--r-- | source/blender/editors/space_node/node_draw.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c index 6dc2182b684..e5cb15c1f79 100644 --- a/source/blender/editors/space_node/node_draw.c +++ b/source/blender/editors/space_node/node_draw.c @@ -261,7 +261,7 @@ void ED_node_sort(bNodeTree *ntree) do { /* setup first_b pointer */ - for (b = 0; b < k && first_b; ++b) { + for (b = 0; b < k && first_b; b++) { first_b = first_b->next; } /* all batches merged? */ @@ -289,7 +289,7 @@ void ED_node_sort(bNodeTree *ntree) /* setup first pointers for next batch */ first_b = node_b; - for (; b < k; ++b) { + for (; b < k; b++) { /* all nodes sorted? */ if (first_b == NULL) { break; @@ -970,7 +970,7 @@ void node_draw_sockets(View2D *v2d, continue; } if (select_all || (sock->flag & SELECT)) { - ++selected_input_len; + selected_input_len++; continue; } @@ -995,7 +995,7 @@ void node_draw_sockets(View2D *v2d, continue; } if (select_all || (sock->flag & SELECT)) { - ++selected_output_len; + selected_output_len++; continue; } @@ -1732,11 +1732,11 @@ void drawnodespace(const bContext *C, ARegion *ar) depth = 0; while (path->prev && depth < max_depth) { path = path->prev; - ++depth; + depth++; } /* parent node trees in the background */ - for (curdepth = depth; curdepth > 0; path = path->next, --curdepth) { + for (curdepth = depth; curdepth > 0; path = path->next, curdepth--) { ntree = path->nodetree; if (ntree) { snode_setup_v2d(snode, ar, path->view_center); |