Blender Git Loki
Git Commits -> Revision d31dd1d
Revision d31dd1d by Falk David (master) January 19, 2021, 02:20 (GMT) |
Fix T84824: Incorrect height using interactive add tool When using the interactive add tool for primitives with a fixed height and base aspect ratio, the height of the created primitive would be incorrect (two times too small or two times too big). When the base origin was centered, the `fixed_aspect_dimension` was not changed even though the base length was doubled. Additionally, when the height origin was centered but the height aspect ratio was fixed, the height was doubled leading to an incorrect size. The fix doubles `fixed_aspect_dimension` when the base origin is centered and correctly calculates the height of the primitive when the aspect ratio is set to fixed. Ref D10140 |
Commit Details:
Full Hash: d31dd1da805b28660c85145300957ba8028acaad
Parent Commit: 58e554a
Committed By: Campbell Barton
Lines Changed: +12, -3
1 Modified Path:
/source/blender/editors/space_view3d/view3d_placement.c (+12, -3) (Diff)