[Bf-blender-cvs] [f5d02f055fd] blender-v2.79-release: Fix: Border select for GPencil keyframes was including those in the "datablock" channels even though those weren't visible

Joshua Leung noreply at git.blender.org
Mon Sep 4 13:12:50 CEST 2017


Commit: f5d02f055fd04dd7df4e565dc40d9db022c16c2e
Author: Joshua Leung
Date:   Sun Sep 3 12:40:49 2017 +1200
Branches: blender-v2.79-release
https://developer.blender.org/rBf5d02f055fd04dd7df4e565dc40d9db022c16c2e

Fix: Border select for GPencil keyframes was including those in the "datablock" channels even though those weren't visible

This meant that it was easy to accidentally select too many keyframes

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

M	source/blender/editors/space_action/action_select.c

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

diff --git a/source/blender/editors/space_action/action_select.c b/source/blender/editors/space_action/action_select.c
index 553be0ad290..17edbc6cc1d 100644
--- a/source/blender/editors/space_action/action_select.c
+++ b/source/blender/editors/space_action/action_select.c
@@ -262,6 +262,7 @@ static void borderselect_action(bAnimContext *ac, const rcti rect, short mode, s
 		{
 			/* loop over data selecting */
 			switch (ale->type) {
+#if 0 /* XXXX: Keyframes are not currently shown here */
 				case ANIMTYPE_GPDATABLOCK:
 				{
 					bGPdata *gpd = ale->data;
@@ -271,6 +272,7 @@ static void borderselect_action(bAnimContext *ac, const rcti rect, short mode, s
 					}
 					break;
 				}
+#endif
 				case ANIMTYPE_GPLAYER:
 					ED_gplayer_frames_select_border(ale->data, rectf.xmin, rectf.xmax, selectmode);
 					break;



More information about the Bf-blender-cvs mailing list