Cleanup: Reduce indentation level
This commit is contained in:
@@ -1716,12 +1716,16 @@ static void animsys_evaluate_fcurves(PointerRNA *ptr, ListBase *list, AnimMapper
|
|||||||
|
|
||||||
const bool copy_on_write = orig_ptr.id.data != NULL;
|
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) {
|
for (fcu = list->first; fcu; fcu = fcu->next) {
|
||||||
/* check if this F-Curve doesn't belong to a muted group */
|
/* Check if this F-Curve doesn't belong to a muted group. */
|
||||||
if ((fcu->grp == NULL) || (fcu->grp->flag & AGRP_MUTED) == 0) {
|
if ((fcu->grp != NULL) && (fcu->grp->flag & AGRP_MUTED)) {
|
||||||
/* check if this curve should be skipped */
|
continue;
|
||||||
if ((fcu->flag & (FCURVE_MUTED | FCURVE_DISABLED)) == 0) {
|
}
|
||||||
|
/* Check if this curve should be skipped. */
|
||||||
|
if ((fcu->flag & (FCURVE_MUTED | FCURVE_DISABLED))) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
PathResolvedRNA anim_rna;
|
PathResolvedRNA anim_rna;
|
||||||
/* Read current value from original datablock. */
|
/* Read current value from original datablock. */
|
||||||
float dna_val;
|
float dna_val;
|
||||||
@@ -1758,8 +1762,6 @@ static void animsys_evaluate_fcurves(PointerRNA *ptr, ListBase *list, AnimMapper
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ***************************************** */
|
/* ***************************************** */
|
||||||
/* Driver Evaluation */
|
/* Driver Evaluation */
|
||||||
|
|||||||
Reference in New Issue
Block a user