Cleanup: Remove commented code

Code has been commented from before 2010 and relates to old Background image code.
This commit is contained in:
Aaron Carlisle 2017-02-09 09:26:12 -05:00
parent d2f4900d1a
commit e523cde574
1 changed files with 0 additions and 15 deletions

View File

@ -1256,21 +1256,6 @@ static void space_view3d_listener(bScreen *UNUSED(sc), ScrArea *sa, struct wmNot
}
break;
}
/* removed since BKE_image_user_frame_calc is now called in view3d_draw_bgpic because screen_ops doesnt call the notifier. */
#if 0
if (wmn->category == NC_SCENE && wmn->data == ND_FRAME) {
View3D *v3d = area->spacedata.first;
BGpic *bgpic = v3d->bgpicbase.first;
for (; bgpic; bgpic = bgpic->next) {
if (bgpic->ima) {
Scene *scene = wmn->reference;
BKE_image_user_frame_calc(&bgpic->iuser, scene->r.cfra, 0);
}
}
}
#endif
}
const char *view3d_context_dir[] = {