[Bf-blender-cvs] [aa321211747] master: Fix: Remove automatic hiding of bones when using the pose slider

Christoph Lendenfeld noreply at git.blender.org
Sat Jul 24 22:25:42 CEST 2021


Commit: aa32121174711acd341d29cd93d35c5560c5eedc
Author: Christoph Lendenfeld
Date:   Sat Jul 24 21:25:23 2021 +0100
Branches: master
https://developer.blender.org/rBaa32121174711acd341d29cd93d35c5560c5eedc

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

===================================================================

M	source/blender/editors/armature/pose_slide.c

===================================================================

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;
 }



More information about the Bf-blender-cvs mailing list