Animation: Disable NLA mapping if no NLA tracks are present #110306

Merged
Christoph Lendenfeld merged 4 commits from ChrisLend/blender:performance_nla_mapping into main 2023-07-27 09:31:50 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 360cc27911 - Show all commits

View File

@ -1070,7 +1070,7 @@ static void draw_fcurve(bAnimContext *ac, SpaceGraph *sipo, ARegion *region, bAn
AnimData *adt = ANIM_nla_mapping_get(ac, ale);
/* map keyframes for drawing if scaled F-Curve */
ANIM_nla_mapping_apply_fcurve(adt, static_cast<FCurve *>(ale->key_data), 0, 0);
ANIM_nla_mapping_apply_fcurve(adt, static_cast<FCurve *>(ale->key_data), false, false);
/* draw curve:
* - curve line may be result of one or more destructive modifiers or just the raw data,