39675bb0fb51838e7c5a70856438de64014332e2
When e.g. executing `drawing.strokes[0].softness = 3`, the API would always create a new attribute `softness` even if that attribute existed already. The issue was that the code was using the `.get(value, fallback)` syntax but the `fallback` expression is always evaluated by python. The fix removes the use of the `fallback` and uses a simple `if/else` to check if the attribute doesn't exist yet and only then create it. Pull Request: https://projects.blender.org/blender/blender/pulls/129044
…
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%
