b5005cd99cc15c6d76323ef91cd48a66dbe2f01e
When loading old blend files, versioned Actions can end up having a slot with an 'UNSPECIFIED' `target_id_type`. Assigning the slot to an ID will then set the slot's `target_id_type` to match the type of the ID, but there was previously no way to directly set it via Python if needed. This PR changes the writability of `target_id_type` to match the extent of its mutability when assigning a slot to an IDs. Which is to say, it can be set if it's 'UNSPECIFIED', but not otherwise. RNA doesn't have a good way to represent this, so we accomplish this with a custom set function that simply ignores the write if the slot's `target_id_type` isn't 'UNSPECIFIED'. This isn't ideal, but is the least-bad solution at the moment. Pull Request: https://projects.blender.org/blender/blender/pulls/133883
…
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%
