Blender Git Loki

Git Commits -> Revision 50d715f

Revision 50d715f by Alexander Gavrilov (master)
July 1, 2016, 12:13 (GMT)
UI: take zoom into account w/ curves widget

The Curves widget has buttons to zoom in on the curve. However the
click detection code doesn't take it into account, and at full zoom
in click on curve is detected very far from the actual visible curve.

Change it to compare the position to the actual line segments
in the UI coordinate space, i.e. with curve zoom applied.

Commit Details:

Full Hash: 50d715f97006cac2929c47fdb086b50ad9e910e6
Parent Commit: b558fa6
Committed By: Campbell Barton
Lines Changed: +29, -29

1 Modified Path:

/source/blender/editors/interface/interface_handlers.c (+29, -29) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021