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
This commit is contained in:
parent
a4a72bffd3
commit
6a903d9088
Notes:
blender-bot
2023-02-14 09:48:23 +01:00
Referenced by issue #81785, Implementation: Modal Key Manipulation Operators
|
@ -1 +1 @@
|
|||
Subproject commit 1adb56d8b01cf1327f58c6fb8b1ccc8b7efd76ad
|
||||
Subproject commit 4475cbd11a636382d57571e0f5dfeff1f90bd6b7
|
|
@ -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... */
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 2afbb8ec472cac5102eb239f57b006f8c9387685
|
||||
Subproject commit c8579c5cf43229843df505da9644b5b0b7201974
|
Loading…
Reference in New Issue