[Bf-blender-cvs] [a2dd6fa58b6] blender2.8: COW Fix: VIEW3D_OT_select_lasso now works for Pose Bones. Other modes untested.

Joshua Leung noreply at git.blender.org
Tue May 15 19:13:32 CEST 2018


Commit: a2dd6fa58b66912bdebcc07c504212bac617f253
Author: Joshua Leung
Date:   Tue May 15 19:13:15 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBa2dd6fa58b66912bdebcc07c504212bac617f253

COW Fix: VIEW3D_OT_select_lasso now works for Pose Bones. Other modes untested.

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

M	source/blender/editors/space_view3d/view3d_select.c

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

diff --git a/source/blender/editors/space_view3d/view3d_select.c b/source/blender/editors/space_view3d/view3d_select.c
index 555bb0e70de..93ecb8a4b61 100644
--- a/source/blender/editors/space_view3d/view3d_select.c
+++ b/source/blender/editors/space_view3d/view3d_select.c
@@ -395,6 +395,8 @@ static void do_lasso_select_pose(ViewContext *vc, Object *ob, const int mcords[]
 			/* mask modifier ('armature' mode), etc. */
 			DEG_id_tag_update(&ob->id, OB_RECALC_DATA);
 		}
+		/* bone selection status is on armature not object */
+		DEG_id_tag_update(&arm->id, DEG_TAG_COPY_ON_WRITE);
 	}
 }



More information about the Bf-blender-cvs mailing list