Cleanup: Style, braces with macros
See https://wiki.blender.org/index.php/Dev:Doc/Code_Style#Braces_with_Macros
This commit is contained in:
parent
c0bbc4abf5
commit
4da6c49613
|
@ -103,7 +103,8 @@ struct LinkData *BLI_genericNodeN(void *data);
|
|||
*
|
||||
* \code{.c}
|
||||
*
|
||||
* LISTBASE_CIRCULAR_FORWARD_BEGIN (listbase, item, item_init) {
|
||||
* LISTBASE_CIRCULAR_FORWARD_BEGIN(listbase, item, item_init)
|
||||
* {
|
||||
* ...operate on marker...
|
||||
* }
|
||||
* LISTBASE_CIRCULAR_FORWARD_END (listbase, item, item_init);
|
||||
|
|
|
@ -1095,14 +1095,15 @@ static void select_timeline_marker_frame(ListBase *markers, int frame, bool exte
|
|||
}
|
||||
}
|
||||
|
||||
LISTBASE_CIRCULAR_FORWARD_BEGIN (markers, marker, marker_first) {
|
||||
LISTBASE_CIRCULAR_FORWARD_BEGIN(markers, marker, marker_first)
|
||||
{
|
||||
/* this way a not-extend select will always give 1 selected marker */
|
||||
if (marker->frame == frame) {
|
||||
marker->flag ^= SELECT;
|
||||
break;
|
||||
}
|
||||
}
|
||||
LISTBASE_CIRCULAR_FORWARD_END (markers, marker, marker_first);
|
||||
LISTBASE_CIRCULAR_FORWARD_END(markers, marker, marker_first);
|
||||
}
|
||||
|
||||
static int ed_marker_select(bContext *C, const wmEvent *event, bool extend, bool camera)
|
||||
|
|
Loading…
Reference in New Issue