was missing a call to glLoadName(-1); so drawing commands after the bone were taken into account with the selection. made some other minor changes that dont change functionality.
was missing a call to glLoadName(-1); so drawing commands after the bone were taken into account with the selection. made some other minor changes that dont change functionality.