More bugfixes for setting visibility of anim channels using VKEY:
authorJoshua Leung <aligorith@gmail.com>
Tue, 9 Feb 2010 11:59:02 +0000 (11:59 +0000)
committerJoshua Leung <aligorith@gmail.com>
Tue, 9 Feb 2010 11:59:02 +0000 (11:59 +0000)
commit3f529256ebeb99536a52d6dd9cb20c69ced8c164
tree8335116ca1c12f9267d01ee7695e86bf3d6fce35
parent0e7c973e06c9e3cb42a68350a60d96c3d3a82e6d
More bugfixes for setting visibility of anim channels using VKEY:
* Fixed problem where selecting an individual F-Curve would not set the selection correctly.
Group channels still needed a separate selection check before they get included in the filtered list. I had removed this in an earlier fixing commit today, but overlooked that expanded groups wouldn't get this check. Therefore, group channels would also be flushed on, turning all channels of group on.

* Removed the 'curvesonly' test from deciding whether the selection status + collapsed group fix, from the earlier commit, since this was making a few cases get overlooked (namely for setting visibility toggles, where selected F-Curves in closed and deselected groups still managed to get through)

* Added a debugging print API call for helping with debugging this sort of error in future. It just prints the types of channels being operated on, to easily see what's going on...
source/blender/editors/animation/anim_channels_defines.c
source/blender/editors/animation/anim_filter.c
source/blender/editors/include/ED_anim_api.h