dc38872326b6cacc4dd63bfc9551eda2de139890
When the user filters channels by name, collapsed channel groups weren't getting filtered properly. For example, consider the following situation: - You have a channel group "Transforms" with the F-Curve "X Location" under it. - You use the name filtering feature with the string "Z". The single F-Curve under the group will get filtered out by the string, and thus should be hidden. That also means that the group, now with no visible f-curves, should also no longer be displayed. With this bug, if the channel was expanded then this filtering still proceeded correctly, and both the f-curve and the group were hidden. However, if the group was *collapsed* then the group would *not* get filtered out, which is incorrect. The underlying cause is that an early-out "we found an un-filtered fcurve, that's all the info we need with these flags!" clause in the f-curve filtering code was happening too early, so it wasn't accounting for name-based filtering. This PR fixes the issue by moving that early-out code to *after* the name-based filtering so that it's properly accounted for. Pull Request: https://projects.blender.org/blender/blender/pulls/136929
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
