diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-18 12:02:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-18 12:03:22 +0300 |
commit | ecb3e0fe737c24e62add99f3fa39e305f5d66af2 (patch) | |
tree | 214dfdeca51bf158a6285b9630bc4f433131e5e0 /source/blender/editors/space_outliner/outliner_tools.c | |
parent | 2199a3e38b1cf5956bd65e1d4ba38a3c50a4bed0 (diff) |
Cleanup: whitespace & break placement
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_tools.c')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_tools.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c index 66863b8061b..3fc47444abe 100644 --- a/source/blender/editors/space_outliner/outliner_tools.c +++ b/source/blender/editors/space_outliner/outliner_tools.c @@ -1498,46 +1498,47 @@ static int outliner_data_operation_exec(bContext *C, wmOperator *op) outliner_do_data_operation(soops, datalevel, event, &soops->tree, pchan_cb, NULL); WM_event_add_notifier(C, NC_OBJECT | ND_POSE, NULL); ED_undo_push(C, "PoseChannel operation"); - } + break; - + } case TSE_BONE: { outliner_do_data_operation(soops, datalevel, event, &soops->tree, bone_cb, NULL); WM_event_add_notifier(C, NC_OBJECT | ND_POSE, NULL); ED_undo_push(C, "Bone operation"); - } + break; - + } case TSE_EBONE: { outliner_do_data_operation(soops, datalevel, event, &soops->tree, ebone_cb, NULL); WM_event_add_notifier(C, NC_OBJECT | ND_POSE, NULL); ED_undo_push(C, "EditBone operation"); - } + break; - + } case TSE_SEQUENCE: { Scene *scene = CTX_data_scene(C); outliner_do_data_operation(soops, datalevel, event, &soops->tree, sequence_cb, scene); - } + break; - + } case TSE_GP_LAYER: { outliner_do_data_operation(soops, datalevel, event, &soops->tree, gp_layer_cb, NULL); WM_event_add_notifier(C, NC_GPENCIL | ND_DATA, NULL); ED_undo_push(C, "Grease Pencil Layer operation"); - } + break; - + } case TSE_RNA_STRUCT: if (event == OL_DOP_SELECT_LINKED) { outliner_do_data_operation(soops, datalevel, event, &soops->tree, data_select_linked_cb, C); } + break; - + default: BKE_report(op->reports, RPT_WARNING, "Not yet implemented"); break; |