[Bf-blender-cvs] [6a903d90887] master: Fix: Instantly hide bones after hitting H key in pose sliding
Christoph Lendenfeld
noreply at git.blender.org
Mon Jul 26 22:42:11 CEST 2021
Commit: 6a903d90887848803decd5242e25df5d24f85970
Author: Christoph Lendenfeld
Date: Mon Jul 26 21:42:04 2021 +0100
Branches: master
https://developer.blender.org/rB6a903d90887848803decd5242e25df5d24f85970
Fix: Instantly hide bones after hitting H key in pose sliding
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
===================================================================
M release/scripts/addons
M source/blender/editors/armature/pose_slide.c
M source/tools
===================================================================
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
More information about the Bf-blender-cvs
mailing list