From 6a903d90887848803decd5242e25df5d24f85970 Mon Sep 17 00:00:00 2001 From: Christoph Lendenfeld Date: Mon, 26 Jul 2021 21:42:04 +0100 Subject: Fix: Instantly hide bones after hitting H key in pose sliding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When using a pose slider it is possible to hide bones with the 'H' key. Before this patch the screen didn't update, so you had to move the mouse 1 pixel to update. This patch makes it so it updates right away Reviewed by: Sybren A. Stüvel Differential Revision: https://developer.blender.org/D12024 Ref: D12024 --- release/scripts/addons | 2 +- source/blender/editors/armature/pose_slide.c | 1 + source/tools | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/release/scripts/addons b/release/scripts/addons index 1adb56d8b01..4475cbd11a6 160000 --- a/release/scripts/addons +++ b/release/scripts/addons @@ -1 +1 @@ -Subproject commit 1adb56d8b01cf1327f58c6fb8b1ccc8b7efd76ad +Subproject commit 4475cbd11a636382d57571e0f5dfeff1f90bd6b7 diff --git a/source/blender/editors/armature/pose_slide.c b/source/blender/editors/armature/pose_slide.c index d267072c2f6..38f562ebf25 100644 --- a/source/blender/editors/armature/pose_slide.c +++ b/source/blender/editors/armature/pose_slide.c @@ -1253,6 +1253,7 @@ static int pose_slide_modal(bContext *C, wmOperator *op, const wmEvent *event) case EVT_HKEY: { View3D *v3d = pso->area->spacedata.first; v3d->overlay.flag ^= V3D_OVERLAY_HIDE_BONES; + ED_region_tag_redraw(pso->region); } default: /* Some other unhandled key... */ diff --git a/source/tools b/source/tools index 2afbb8ec472..c8579c5cf43 160000 --- a/source/tools +++ b/source/tools @@ -1 +1 @@ -Subproject commit 2afbb8ec472cac5102eb239f57b006f8c9387685 +Subproject commit c8579c5cf43229843df505da9644b5b0b7201974 -- cgit v1.2.3