From 01d3afaf3dec8c77c7c4de9f25ed50931ecd49a0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 9 Mar 2016 17:33:38 +1100 Subject: Fix/workaround T47685: Drag keymap slider fails This is a special case where the UI update function re-creases the keymap we're currently editing. Making it so dragging values fails. --- source/blender/editors/include/UI_interface.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/include/UI_interface.h') diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 0f0e40850cc..89c50a46c70 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -182,6 +182,7 @@ enum { UI_BUT_TIP_FORCE = (1 << 28), /* force show tooltips when holding option/alt if U's USER_TOOLTIPS is off */ UI_BUT_TEXTEDIT_UPDATE = (1 << 29), /* when widget is in textedit mode, update value on each char stroke */ UI_BUT_SEARCH_UNLINK = (1 << 30), /* show unlink for search button */ + UI_BUT_UPDATE_DELAY = (1 << 31), /* don't run updates while dragging (needed in rare cases). */ }; #define UI_PANEL_WIDTH 340 -- cgit v1.2.3