Changed armature active bone so it is separate from selection this is consistent...
authorCampbell Barton <ideasman42@gmail.com>
Wed, 8 Dec 2010 03:05:46 +0000 (03:05 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 8 Dec 2010 03:05:46 +0000 (03:05 +0000)
commit2e667e45fc02c5de285df836e59248a82b45dff9
treedb50ed1d0d743baf836dbc1cf5a185c4c4342e93
parent47d6166adb7a5100e04c645e7d6284c5c1b95c9d
Changed armature active bone so it is separate from selection this is consistent with active object, mesh editmode, curves & metaballs.
- active is no longer assumed to be selected.
  this fixes a simple bug - eg: Adding a new armature, entering pose mode and toggling selection failed.
- outliner editbone selection now works like object and pose mode.
- mouse selection sets the bone active even when the tip is selected.
- active, unselected bones draw as wire color with a 15% tint of the selected color.
source/blender/editors/armature/editarmature.c
source/blender/editors/armature/poselib.c
source/blender/editors/armature/poseobject.c
source/blender/editors/screen/screen_context.c
source/blender/editors/space_outliner/outliner.c
source/blender/editors/space_view3d/drawarmature.c
source/blender/editors/space_view3d/view3d_select.c
source/blender/makesdna/DNA_armature_types.h