diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-08-13 17:11:19 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-08-13 17:11:19 +0400 |
commit | eca7c96a2887e1ebbf982abbd37be2522a5495ff (patch) | |
tree | 76eba2b2704b0ac55dfadd9754e603aea58c5883 /source/blender/editors/interface/resources.c | |
parent | b30ac75f8c9ec5ab9889708374b3a80456512dad (diff) |
Maybe slightly controversial pie commit:
Make pie menu item placement touch the radius from the internal side of
the buttons rather than placing on the center on the cirtcle. This
allows us to get rid of the separate visual angle property, also allows
for tighter placement of pies with a smaller radius without easily
overlapping.
Also pie menu title now always appears above the threshold indicator.
Diffstat (limited to 'source/blender/editors/interface/resources.c')
-rw-r--r-- | source/blender/editors/interface/resources.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c index 92277cc63ea..822fa41e69d 100644 --- a/source/blender/editors/interface/resources.c +++ b/source/blender/editors/interface/resources.c @@ -2454,7 +2454,7 @@ void init_userdef_do_versions(void) } } - if (U.versionfile < 271 || (U.versionfile == 271 && U.subversionfile < 4)) { + if (U.versionfile < 271 || (U.versionfile == 271 && U.subversionfile < 5)) { bTheme *btheme; struct uiWidgetColors wcol_pie_menu = { @@ -2470,7 +2470,7 @@ void init_userdef_do_versions(void) 10, -10 }; - U.pie_menu_radius = 150; + U.pie_menu_radius = 100; U.pie_menu_threshold = 12; U.pie_animation_timeout = 6; |