Blender Git Commit Log
Git Commits -> Revision 4d966aa
Revision 4d966aa by Joshua Leung (master) February 21, 2018, 12:46 (GMT) |
Fix T54065: NLA-Strip Control Curves would get disabled when name-based-filtering is enabled This bug took a while to track down. In the test file with this report, the Nla-Strip Control Curve for strip time would get disabled if you changed the NLA Editor to a second Graph Editor instance. It turns out that because this second Graph Editor would have the "filter fcurves by name" option enabled, this would trigger a lookup of the referenced property's name (in order to test whether it matched the filtering criteria). However, since that filtering code was written before the introduction of these curves, it still assumed that the names for these Control Curves should be handled the same as for standard FCurves. Unfortunately, that doesn't work, as the property lookups fail if the standard method is used - when the lookups fail, the F-Curves get tagged as being invalid/disabled (and need to be reset using the "Revive Disabled FCurves" operator). Note: The changes in this patch look complicated, as I've had to shuffle a bit of code around so that the name-filtering check can have access to the additional info it needs. In the process, I've also removed the earlier (hacky) approach where the control curves were getting added to a temp buffer to get changed from normal FCurves to special ANIMTYPE_NLACURVES. |
Commit Details:
Full Hash: 4d966aa19c36d86a407f419f88dc713f454e74a0
Parent Commit: f735411
Lines Changed: +30, -42
1 Modified Path:
/source/blender/editors/animation/anim_filter.c (+30, -42) (Diff)