From f81d8e7fe1a54f80d925fcaa6092e933fec9d780 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 18 Dec 2015 16:17:13 +1100 Subject: Add wrap argument to cycle wm utility funcs Now zooming text in the console and text editor isn't wrapping from large/small font size (annoying). --- source/blender/editors/object/object_ops.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/object') diff --git a/source/blender/editors/object/object_ops.c b/source/blender/editors/object/object_ops.c index 22cac8638d9..eddd67ae8f1 100644 --- a/source/blender/editors/object/object_ops.c +++ b/source/blender/editors/object/object_ops.c @@ -464,6 +464,7 @@ void ED_keymap_proportional_cycle(struct wmKeyConfig *UNUSED(keyconf), struct wm kmi = WM_keymap_add_item(keymap, "WM_OT_context_cycle_enum", OKEY, KM_PRESS, KM_SHIFT, 0); RNA_string_set(kmi->ptr, "data_path", "tool_settings.proportional_edit_falloff"); + RNA_boolean_set(kmi->ptr, "wrap", true); } void ED_keymap_proportional_obmode(struct wmKeyConfig *UNUSED(keyconf), struct wmKeyMap *keymap) -- cgit v1.2.3