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-24 23:25:23 +0300
committerChristoph Lendenfeld <chris.lend@gmx.at>2021-07-24 23:25:23 +0300
commitaa32121174711acd341d29cd93d35c5560c5eedc (patch)
tree26064cf64f2fc79d04941b18af00559f2e3f33cb /source/blender/editors/armature
parentc971c851d38ad52779fa5d75c86bbfb83abf660b (diff)
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
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/pose_slide.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/armature/pose_slide.c b/source/blender/editors/armature/pose_slide.c
index e87d221058c..d267072c2f6 100644
--- a/source/blender/editors/armature/pose_slide.c
+++ b/source/blender/editors/armature/pose_slide.c
@@ -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;
}