Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lendenfeld <chris.lend@gmx.at>2021-07-26 23:42:04 +0300
committerChristoph Lendenfeld <chris.lend@gmx.at>2021-07-26 23:42:04 +0300
commit6a903d90887848803decd5242e25df5d24f85970 (patch)
tree398b7018aa50867b643f95c673c916cf2c2fa34b
parenta4a72bffd33a6611de561292ff5a2e004a74867d (diff)
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/addons0
-rw-r--r--source/blender/editors/armature/pose_slide.c1
m---------source/tools0
3 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/addons b/release/scripts/addons
-Subproject 1adb56d8b01cf1327f58c6fb8b1ccc8b7efd76a
+Subproject 4475cbd11a636382d57571e0f5dfeff1f90bd6b
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
-Subproject 2afbb8ec472cac5102eb239f57b006f8c938768
+Subproject c8579c5cf43229843df505da9644b5b0b720197