[Bf-blender-cvs] [befaf86] master: Allow bg-image rotation for camera views

Campbell Barton noreply at git.blender.org
Mon Mar 23 14:04:38 CET 2015


Commit: befaf86a9990aa0be24fcf713f3880da540ddb1c
Author: Campbell Barton
Date:   Tue Mar 24 00:02:09 2015 +1100
Branches: master
https://developer.blender.org/rBbefaf86a9990aa0be24fcf713f3880da540ddb1c

Allow bg-image rotation for camera views

===================================================================

M	source/blender/editors/space_view3d/view3d_draw.c

===================================================================

diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index db4499a..b8599cf 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;




More information about the Bf-blender-cvs mailing list