diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-07-24 13:42:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-07-24 13:42:39 +0300 |
commit | 4fe0fafb875581e4a116db17da6a032fd1749f65 (patch) | |
tree | f7d31c318f8304b979926e10fba11240e492443d /source/blender | |
parent | 552cc30f3a431a7db375fad3b79a1ddd2230dd3e (diff) |
Fix T67548: Camera background-image ignores shift
Regression from 2.79
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/modes/object_mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/object_mode.c b/source/blender/draw/modes/object_mode.c index 9fc11e4f36f..ffa013d2758 100644 --- a/source/blender/draw/modes/object_mode.c +++ b/source/blender/draw/modes/object_mode.c @@ -1256,7 +1256,7 @@ static void DRW_shgroup_camera_background_images(OBJECT_Shaders *sh_data, if (!DRW_state_is_image_render()) { rctf render_border; - ED_view3d_calc_camera_border(scene, depsgraph, ar, v3d, rv3d, &render_border, true); + ED_view3d_calc_camera_border(scene, depsgraph, ar, v3d, rv3d, &render_border, false); camera_width = render_border.xmax - render_border.xmin; camera_height = render_border.ymax - render_border.ymin; camera_aspect = camera_width / camera_height; |