Blender Git Commit Log

Git Commits -> Revision 50e8072

December 2, 2020, 07:34 (GMT)
Fix T83055: setting rna pointer properties can create bogus custom properties

This was reported in the form of the eyedropper of the 'Parent' property
creating a custom property 'parent' if self was picked.

Problem arises when certain checks for setting rna pointer properties
failed (for example: the PROP_ID_SELF_CHECK check) and then a different
code path was entered (which was only meant for IDProperties).

Problem was introduced in rBa7b3047cefcb.

To solve, now first enter the branch for rna-based pointer properties,
then perform the sanity-checks (and if these fail: dont enter the other
unrelated codepath but instead do nothing)

Maniphest Tasks: T83055

Differential Revision: https://developer.blender.org/D9652

Commit Details:

Full Hash: 50e8072708428a169f7049a2626c2392b7c4e202
Parent Commit: d561113
Committed By: Jeroen Bakker
Lines Changed: +5, -3

1 Modified Path:

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