diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-27 23:40:36 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-27 23:40:36 +0400 |
commit | b33f0ef0e3c12fcb57217d1653e60aa957b938fc (patch) | |
tree | a8fc31f587031627ca59a1e842ce05f1096e3e6a /source/blender/editors/armature | |
parent | 295aa880e96602885e43993d3604d9c7330b9084 (diff) |
style cleanup
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/poselib.c | 6 | ||||
-rw-r--r-- | source/blender/editors/armature/poseobject.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/armature/poselib.c b/source/blender/editors/armature/poselib.c index 36c15c50809..18e3d967835 100644 --- a/source/blender/editors/armature/poselib.c +++ b/source/blender/editors/armature/poselib.c @@ -1236,7 +1236,7 @@ static int poselib_preview_handle_event(bContext *UNUSED(C), wmOperator *op, wmE case PAD5: case PAD6: case PAD7: case PAD8: case PAD9: case PADPLUSKEY: case PADMINUS: case MIDDLEMOUSE: case MOUSEMOVE: - //pld->redraw= PL_PREVIEW_REDRAWHEADER; + //pld->redraw = PL_PREVIEW_REDRAWHEADER; ret = OPERATOR_PASS_THROUGH; break; @@ -1365,7 +1365,7 @@ static int poselib_preview_handle_event(bContext *UNUSED(C), wmOperator *op, wmE * even though we still maintain control (as RUNNING_MODAL flag is still set too) */ case MIDDLEMOUSE: case MOUSEMOVE: - //pld->redraw= PL_PREVIEW_REDRAWHEADER; + //pld->redraw = PL_PREVIEW_REDRAWHEADER; ret = OPERATOR_PASS_THROUGH; break; @@ -1379,7 +1379,7 @@ static int poselib_preview_handle_event(bContext *UNUSED(C), wmOperator *op, wmE } else { /* view manipulation (see above) */ - //pld->redraw= PL_PREVIEW_REDRAWHEADER; + //pld->redraw = PL_PREVIEW_REDRAWHEADER; ret = OPERATOR_PASS_THROUGH; } break; diff --git a/source/blender/editors/armature/poseobject.c b/source/blender/editors/armature/poseobject.c index df970171a54..a8e84116699 100644 --- a/source/blender/editors/armature/poseobject.c +++ b/source/blender/editors/armature/poseobject.c @@ -119,8 +119,8 @@ void ED_armature_exit_posemode(bContext *C, Base *base) } } -/* if a selected or active bone is protected, throw error (oonly if warn==1) and return 1 */ -/* only_selected==1 : the active bone is allowed to be protected */ +/* if a selected or active bone is protected, throw error (oonly if warn == 1) and return 1 */ +/* only_selected == 1: the active bone is allowed to be protected */ #if 0 /* UNUSED 2.5 */ static short pose_has_protected_selected(Object *ob, short warn) { @@ -571,7 +571,7 @@ static short pose_select_same_group(bContext *C, Object *ob, short extend) /* alloc a small array to keep track of the groups to use * - each cell stores on/off state for whether group should be used - * - size is numGroups + 1, since index=0 is used for no-group + * - size is (numGroups + 1), since (index = 0) is used for no-group */ group_flags = MEM_callocN(numGroups + 1, "pose_select_same_group"); |