diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-26 06:08:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-26 06:08:47 +0400 |
commit | 150236448d3e0726050171037cbeb31b429b9745 (patch) | |
tree | 919d75a989c9429c1ca588d8d947d196e9c0e6ff /source/blender/editors | |
parent | ad99c6644abbf773b04a6b21d4cf848404488500 (diff) |
bugfix [#22994] Crash when loading this file
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_image/image_ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c index d6ffcf243cf..d69c34ad259 100644 --- a/source/blender/editors/space_image/image_ops.c +++ b/source/blender/editors/space_image/image_ops.c @@ -2085,8 +2085,8 @@ void ED_image_update_frame(const bContext *C) View3D *v3d= sa->spacedata.first; BGpic *bgpic; for(bgpic= v3d->bgpicbase.first; bgpic; bgpic= bgpic->next) - if(v3d->bgpic->iuser.flag & IMA_ANIM_ALWAYS) - BKE_image_user_calc_frame(&v3d->bgpic->iuser, scene->r.cfra, 0); + if(bgpic->iuser.flag & IMA_ANIM_ALWAYS) + BKE_image_user_calc_frame(&bgpic->iuser, scene->r.cfra, 0); } else if(sa->spacetype==SPACE_IMAGE) { SpaceImage *sima= sa->spacedata.first; |