forked from bartvdbraak/blender
Cleanup: Reduce indentation level
This commit is contained in:
parent
17f458ff32
commit
46cfa605c3
@ -1716,12 +1716,16 @@ static void animsys_evaluate_fcurves(PointerRNA *ptr, ListBase *list, AnimMapper
|
||||
|
||||
const bool copy_on_write = orig_ptr.id.data != NULL;
|
||||
|
||||
/* calculate then execute each curve */
|
||||
/* Calculate then execute each curve. */
|
||||
for (fcu = list->first; fcu; fcu = fcu->next) {
|
||||
/* check if this F-Curve doesn't belong to a muted group */
|
||||
if ((fcu->grp == NULL) || (fcu->grp->flag & AGRP_MUTED) == 0) {
|
||||
/* check if this curve should be skipped */
|
||||
if ((fcu->flag & (FCURVE_MUTED | FCURVE_DISABLED)) == 0) {
|
||||
/* Check if this F-Curve doesn't belong to a muted group. */
|
||||
if ((fcu->grp != NULL) && (fcu->grp->flag & AGRP_MUTED)) {
|
||||
continue;
|
||||
}
|
||||
/* Check if this curve should be skipped. */
|
||||
if ((fcu->flag & (FCURVE_MUTED | FCURVE_DISABLED))) {
|
||||
continue;
|
||||
}
|
||||
PathResolvedRNA anim_rna;
|
||||
/* Read current value from original datablock. */
|
||||
float dna_val;
|
||||
@ -1757,8 +1761,6 @@ static void animsys_evaluate_fcurves(PointerRNA *ptr, ListBase *list, AnimMapper
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* ***************************************** */
|
||||
|
Loading…
Reference in New Issue
Block a user