diff options
Diffstat (limited to 'source/blender/editors/space_nla/nla_edit.c')
-rw-r--r-- | source/blender/editors/space_nla/nla_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_nla/nla_edit.c b/source/blender/editors/space_nla/nla_edit.c index e3308ca70a2..f15e26e1b0d 100644 --- a/source/blender/editors/space_nla/nla_edit.c +++ b/source/blender/editors/space_nla/nla_edit.c @@ -469,7 +469,7 @@ static int nlaedit_viewall(bContext *C, const bool only_sel) if (ANIM_animdata_get_context(C, &ac) == 0) { return OPERATOR_CANCELLED; } - v2d = &ac.ar->v2d; + v2d = &ac.region->v2d; /* set the horizontal range, with an extra offset so that the extreme keys will be in view */ get_nlastrip_extents(&ac, &v2d->cur.xmin, &v2d->cur.xmax, only_sel); |