ddced37ea49e1875e2baaa67021ee337f9d38697
This was happening because in `apply_eval_grease_pencil_data` we gather all the potential original layers to clear. This was done by taking the set of all original layers and then removing layers from the set that map to an evaluated layer. The remaining layers are unmapped and should be cleared. The problem is that invisible layers are no longer part of evaluated data so there wouldn't be a mapping that could be found. To fix this, we don't initialize the set of `orig_layers_to_clear` to all the layers, but instead to only the layers that are visible. This will ensure that we don't clear keyframes of hidden layers. Pull Request: https://projects.blender.org/blender/blender/pulls/135121
…
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%
