Bugfix [#27194] Difficulty selecting bones with boneshapes enabled and
authorJoshua Leung <aligorith@gmail.com>
Thu, 28 Apr 2011 09:46:53 +0000 (09:46 +0000)
committerJoshua Leung <aligorith@gmail.com>
Thu, 28 Apr 2011 09:46:53 +0000 (09:46 +0000)
commit7c125b9cf419643050ffdb7c92929cdc06517f4b
tree0fa479d77b8db9f834949d79b263d6a3d0c78ed6
parent06dc54837d70a18bf687c6dbf8f4500a0e9abc85
Bugfix [#27194] Difficulty selecting bones with boneshapes enabled and
some bones made un-selectable

Pose Bone selection (like object selection) used OpenGL to draw
wireframes with different colours into an offscreen buffer and then
from that identify which item was clicked on. The bug here was that
unselectable bones were getting drawn for this step too, so they were
getting caught instead of the control bones that were selectable.
source/blender/editors/space_view3d/drawarmature.c