Fix: Remove automatic hiding of bones when using the pose slider
This patch addresses the issue raised in T88340. When entering a pose sliding operator bones would automatically get hidden. While technically not a bug it was decided that it is too confusing. Hiding with 'H' is still possible though, just won't happen automatically Reviewed by: Sybren A. Stüvel Differential Revision: https://developer.blender.org/D11883 Ref: D11883
This commit is contained in:
parent
c971c851d3
commit
aa32121174
Notes:
blender-bot
2023-02-14 11:20:29 +01:00
Referenced by issue #90158, Can't open blendfile
|
@ -1046,10 +1046,9 @@ static int pose_slide_invoke_common(bContext *C, wmOperator *op, const wmEvent *
|
|||
/* Add a modal handler for this operator. */
|
||||
WM_event_add_modal_handler(C, op);
|
||||
|
||||
/* Hide Bone Overlay. */
|
||||
/* Save current bone visibility. */
|
||||
View3D *v3d = pso->area->spacedata.first;
|
||||
pso->overlay_flag = v3d->overlay.flag;
|
||||
v3d->overlay.flag |= V3D_OVERLAY_HIDE_BONES;
|
||||
|
||||
return OPERATOR_RUNNING_MODAL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue