diff options
author | Joshua Leung <aligorith@gmail.com> | 2013-02-28 03:50:44 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2013-02-28 03:50:44 +0400 |
commit | a807f087e0bbbd76657c94382ed49f29156ca73c (patch) | |
tree | 72ebf141fa6dd146481162d74091d7d06516ac98 /source/blender/editors/armature/pose_select.c | |
parent | 28a84a2c3a204bfab21541df0d6a78d718248f42 (diff) |
Code cleanups
* Replace magic numbers with enum-defines
* Remove superfluous return; statements (used as last statements in a few
"static void" methods)
* Remove some old unused/commented out stuff
Diffstat (limited to 'source/blender/editors/armature/pose_select.c')
-rw-r--r-- | source/blender/editors/armature/pose_select.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/armature/pose_select.c b/source/blender/editors/armature/pose_select.c index 16bc8bdfba1..bd218d7058e 100644 --- a/source/blender/editors/armature/pose_select.c +++ b/source/blender/editors/armature/pose_select.c @@ -249,9 +249,6 @@ static int pose_select_connected_invoke(bContext *C, wmOperator *op, wmEvent *ev for (curBone = bone; curBone; curBone = next) { /* ignore bone if cannot be selected */ if ((curBone->flag & BONE_UNSELECTABLE) == 0) { - // XXX old cruft! use notifiers instead - //select_actionchannel_by_name (ob->action, curBone->name, !(shift)); - if (extend) curBone->flag &= ~BONE_SELECTED; else |