Blender Git Commit Log

Git Commits -> Revision 841ae18

Revision 841ae18 by Philipp Oeser (master)
November 26, 2020, 16:18 (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: 841ae186056b11994d6d857b644f656bb5274ebc
Parent Commit: 4b248c1
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