Blender Git Commit Log

Git Commits -> Revision 338d9e1

September 9, 2015, 23:59 (GMT)
Don't offset arrow widget range by property min value

Previously, the min value of the arrow range was set to be at the origin, but figured out in most cases this is actually not wanted (e.g: force field strength widget min value is -200, meaning at strength=0, the widget would be offset 200 pixels; camera focal length widget min value is 1, meaning widget was constantly offset by -1). Instead, the origin should be where the value of the property is 0.

This might still be wanted for some future cases, so leaving old behavior #ifdef'ed out.

Commit Details:

Full Hash: 338d9e128f013d07ff978cc0b1fbf9070c998fdd
Parent Commit: cd06b57
Lines Changed: +16, -0

1 Modified Path:

/source/blender/windowmanager/intern/wm_generic_widgets.c (+16, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021