diff options
author | Christoph Lendenfeld <chris.lend@gmx.at> | 2021-07-26 23:42:04 +0300 |
---|---|---|
committer | Christoph Lendenfeld <chris.lend@gmx.at> | 2021-07-26 23:42:04 +0300 |
commit | 6a903d90887848803decd5242e25df5d24f85970 (patch) | |
tree | 398b7018aa50867b643f95c673c916cf2c2fa34b /source | |
parent | a4a72bffd33a6611de561292ff5a2e004a74867d (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
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/armature/pose_slide.c | 1 | ||||
m--------- | source/tools | 0 |
2 files changed, 1 insertions, 0 deletions
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 |