Page MenuHome
Paste P1627

T80659_snippet
ActivePublic

Authored by Philipp Oeser (lichtwerk) on Sep 11 2020, 5:43 PM.
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c
index 6a6914daf47..3eca722ec15 100644
--- a/source/blender/editors/interface/interface_handlers.c
+++ b/source/blender/editors/interface/interface_handlers.c
@@ -8893,8 +8893,10 @@ static int ui_handle_button_event(bContext *C, const wmEvent *event, uiBut *but)
if (post_but) {
/* The post_but still has previous ranges (without the changes in active button considered),
* needs refreshing the ranges. */
- ui_but_range_set_soft(post_but);
- ui_but_range_set_hard(post_but);
+ if ((but->rnaprop) || (but->poin && (but->pointype & UI_BUT_POIN_TYPES))) {
+ ui_but_range_set_soft(post_but);
+ ui_but_range_set_hard(post_but);
+ }
button_activate_init(C, region, post_but, post_type);
}