Blender Git Commit Log

Git Commits -> Revision 86c5d1f

Revision 86c5d1f by Bastien Montagne (master)
September 20, 2020, 15:00 (GMT)
LibOverride: add checks to RNA collections editing utils.

Collections of liboverride data only support insertion of new items (and
deleting or moving those around). No operation on existing items from linked
data is allowed.

Reflect that in RNA functions used to edit py-defined RNA collections.

Note that this is not ideal currently, it does the job but feedback to
user is rather poor. Ideally add-ons should implement higher-level
checks for override cases in their operators.

Commit Details:

Full Hash: 86c5d1f4aa07551b289619da501889a172a39e03
Parent Commit: 1c98bb8
Lines Changed: +100, -2

2 Modified Paths:

/source/blender/makesdna/DNA_ID.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_access.c (+95, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021