fad85d303fbce7c0ee402ffa706cd6d4cdb13409
Toggling the layer onion skinning toggle would affect the opacity of strokes on the current frame. This was caused by the `get_visible_frames_for_layer` function. It computes a `frame_id` for all the keyframes that are not the currenty visible keyframe. To skip over the currently visible keyframe on the layer, it just compared the start frame of the keyframe with the current scene frame. This only works if the current frame is over the keyframe, but not for any frames after (even if the same keyframe is still visible). The fix computes the start frame of the keyframe under the current frame first, and then uses that to compare to the start frame during the iteration over all keyframes. This makes sure that we skip over the currently visible keyframe in that layer. Pull Request: https://projects.blender.org/blender/blender/pulls/123358
…
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%
