f10a2f6f7ba9def612a6802afbbf9bd84196b38d
The root cause is that the editor functions (`retrieve_editable_and_selected_points` etc.) use the evaluated object, while the operator poll which checks for the active layer uses original data. The geonodes modifier removes all GP layers. The operator runs anyway because the original data has an active layer, but then crashes layer when trying to access the layer in evaluated data. The fix here is to use original data throughout, which is usually the data we want to look at for edit/sculpt/paint tools. There is a caveat that the internal functions like `calculate_view_positions` still should be using evaluated data for some things, like finding intersections with other visible strokes. This isn't distinguished clearly atm and might cause further bugs down the line. Pull Request: https://projects.blender.org/blender/blender/pulls/129109
…
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%
