Page MenuHome

Background image offset Y depends on image aspect ratio
Closed, ResolvedPublicTO DO


Blender Version

Short description of error
It seems background image offset Y doesn't work as expected.

Exact steps for others to reproduce the error
Create a new rectangular image, for example 400x600 pixels
Add it to view 3d as background image
Set size to 4, so width will represents 4 units and height 6 units
Set Y offset to 2, the image will be shifted to 3 because aspect ratio is 1.5. To get a shift of 2 units we need to set Y offset to 1.3333

Event Timeline

domlysz (domlysz) raised the priority of this task from to 90.
domlysz (domlysz) updated the task description. (Show Details)
domlysz (domlysz) added a project: BF Blender.
domlysz (domlysz) edited a custom field.
Philipp Oeser (lichtwerk) lowered the priority of this task from 90 to 50.Apr 2 2016, 10:08 PM

possible fix D1893?

Current code works as intended, changing will break files, this is more of a TODO.

Not directly linked but I've also noticed that in Blender 2.74 and prior with a background image size set to 1 the image width represents 2 units but since v2.75 a size of 1 gives an image width of 1 units. I think it's better but can't find any information about this change and it also broke files or addons.

Will merge this in favor of the more recent T71256 (since the new task reflects the changes in background images...)