Style tweak - missing braces
This commit is contained in:
parent
c5e6a35e85
commit
0f359c41ea
@ -2034,11 +2034,12 @@ static int switch_direction_exec(bContext *C, wmOperator *UNUSED(op))
|
||||
EditNurb *editnurb = cu->editnurb;
|
||||
Nurb *nu;
|
||||
|
||||
for (nu = editnurb->nurbs.first; nu; nu = nu->next)
|
||||
for (nu = editnurb->nurbs.first; nu; nu = nu->next) {
|
||||
if (isNurbsel(nu)) {
|
||||
BKE_nurb_direction_switch(nu);
|
||||
keyData_switchDirectionNurb(cu, nu);
|
||||
}
|
||||
}
|
||||
|
||||
if (ED_curve_updateAnimPaths(obedit->data))
|
||||
WM_event_add_notifier(C, NC_OBJECT | ND_KEYS, obedit);
|
||||
|
Loading…
Reference in New Issue
Block a user