@@ -576,22 +576,21 @@ static void animsys_evaluate_fcurves(PointerRNA *ptr,
576576 bool flush_to_original)
577577{
578578 /* Calculate then execute each curve. */
579- threading::parallel_for (fcurves.index_range (), 256 , [&](const IndexRange range) {
580- for (const int i : range) {
581- FCurve *fcu = fcurves[i];
582- if (!is_fcurve_evaluatable (fcu)) {
583- continue ;
584- }
585- PathResolvedRNA anim_rna;
586- if (BKE_animsys_rna_path_resolve (ptr, fcu->rna_path , fcu->array_index , &anim_rna)) {
587- const float curval = calculate_fcurve (&anim_rna, fcu, anim_eval_context);
588- BKE_animsys_write_to_rna_path (&anim_rna, curval);
589- if (flush_to_original) {
590- animsys_write_orig_anim_rna (ptr, fcu->rna_path , fcu->array_index , curval);
591- }
579+ for (FCurve *fcu : fcurves) {
580+
581+ if (!is_fcurve_evaluatable (fcu)) {
582+ continue ;
583+ }
584+
585+ PathResolvedRNA anim_rna;
586+ if (BKE_animsys_rna_path_resolve (ptr, fcu->rna_path , fcu->array_index , &anim_rna)) {
587+ const float curval = calculate_fcurve (&anim_rna, fcu, anim_eval_context);
588+ BKE_animsys_write_to_rna_path (&anim_rna, curval);
589+ if (flush_to_original) {
590+ animsys_write_orig_anim_rna (ptr, fcu->rna_path , fcu->array_index , curval);
592591 }
593592 }
594- });
593+ }
595594}
596595
597596/* *
0 commit comments