[Bf-blender-cvs] [dbeef6751db] master: Cleanup: Adding braces around all cases here to make it easier for the next step

Joshua Leung noreply at git.blender.org
Fri Mar 1 14:31:04 CET 2019


Commit: dbeef6751db3cf300a588b1530441ff685d3f103
Author: Joshua Leung
Date:   Sat Mar 2 02:11:14 2019 +1300
Branches: master
https://developer.blender.org/rBdbeef6751db3cf300a588b1530441ff685d3f103

Cleanup: Adding braces around all cases here to make it easier for the next step

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

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 d97a27a403a..c7b62af9d0b 100644
--- a/source/blender/editors/space_action/action_select.c
+++ b/source/blender/editors/space_action/action_select.c
@@ -306,11 +306,15 @@ static void box_select_action(bAnimContext *ac, const rcti rect, short mode, sho
 					break;
 				}
 				case ANIMTYPE_MASKLAYER:
+				{
 					ED_masklayer_frames_select_box(ale->data, rectf.xmin, rectf.xmax, selectmode);
 					break;
+				}
 				default:
+				{
 					ANIM_animchannel_keyframes_loop(&ked, ac->ads, ale, ok_cb, select_cb, NULL);
 					break;
+				}
 			}
 		}



More information about the Bf-blender-cvs mailing list