style cleanup - use aligned * prefixed blocks for descriptive comments (was already used a lot and part of proposed style guide).

This commit is contained in:
2012-03-03 16:31:46 +00:00
parent 86cec98f9e
commit a2c182e923
134 changed files with 1476 additions and 1434 deletions

View File

@@ -653,11 +653,13 @@ static void node_draw_basis(const bContext *C, ARegion *ar, SpaceNode *snode, bN
UI_DrawTriIcon(rct->xmin+10.0f, rct->ymax-NODE_DY/2.0f, 'v');
}
/* this isn't doing anything for the label, so commenting out
/* this isn't doing anything for the label, so commenting out */
#if 0
if(node->flag & SELECT)
UI_ThemeColor(TH_TEXT_HI);
else
UI_ThemeColor(TH_TEXT); */
UI_ThemeColor(TH_TEXT);
#endif
BLI_strncpy(showname, nodeLabel(node), sizeof(showname));

View File

@@ -139,7 +139,7 @@ static void compo_freejob(void *cjv)
}
/* only now we copy the nodetree, so adding many jobs while
sliding buttons doesn't frustrate */
* sliding buttons doesn't frustrate */
static void compo_initjob(void *cjv)
{
CompoJob *cj= cjv;
@@ -2879,7 +2879,7 @@ static int node_read_fullsamplelayers_exec(bContext *C, wmOperator *UNUSED(op))
WM_cursor_wait(0);
/* note we are careful to send the right notifier, as otherwise the
compositor would reexecute and overwrite the full sample result */
* compositor would reexecute and overwrite the full sample result */
WM_event_add_notifier(C, NC_SCENE|ND_COMPO_RESULT, NULL);
return OPERATOR_FINISHED;