diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-03-23 16:02:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-03-23 16:03:51 +0300 |
commit | befaf86a9990aa0be24fcf713f3880da540ddb1c (patch) | |
tree | 0814fc81a46bcca9c2ac7a4a484f47009624abd8 /source | |
parent | b8a6cd0140cae6d4da1d17577f60dc7b854fdff1 (diff) |
Allow bg-image rotation for camera views
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index db4499afc26..b8599cf6ea8 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -1834,9 +1834,7 @@ static void view3d_draw_bgpic(Scene *scene, ARegion *ar, View3D *v3d, ED_region_pixelspace(ar); glTranslatef(centx, centy, 0.0); - if (rv3d->persp != RV3D_CAMOB) { - glRotatef(RAD2DEGF(-bgpic->rotation), 0.0f, 0.0f, 1.0f); - } + glRotatef(RAD2DEGF(-bgpic->rotation), 0.0f, 0.0f, 1.0f); if (bgpic->flag & V3D_BGPIC_FLIP_X) { zoomx *= -1.0f; |