[Bf-blender-cvs] [640af5c] master: Fix View3d background image display aspect

Campbell Barton noreply at git.blender.org
Fri Sep 26 17:33:15 CEST 2014


Commit: 640af5c2740a09f5f26a7b8758ea42189778983a
Author: Campbell Barton
Date:   Sat Sep 27 01:32:25 2014 +1000
Branches: master
https://developer.blender.org/rB640af5c2740a09f5f26a7b8758ea42189778983a

Fix View3d background image display aspect

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

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 479a881..c7ee32a 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -1622,7 +1622,7 @@ static void view3d_draw_bgpic(Scene *scene, ARegion *ar, View3D *v3d,
 				}
 
 				image_aspect[0] = ima->aspx;
-				image_aspect[1] = ima->aspx;
+				image_aspect[1] = ima->aspy;
 			}
 			else if (bgpic->source == V3D_BGPIC_MOVIE) {
 				clip = NULL;




More information about the Bf-blender-cvs mailing list