Blender Git Loki

Git Commits -> Revision cbae82b

Revision cbae82b by Hans Goudey (master)
September 22, 2020, 13:48 (GMT)
Fix T78823: Slash in custom property name does not work

Some characters: `'`, `"`, and ``, can cause problems with RNA paths.
Instead of using more complicated handling to deal with those cases,
we can just prevent these characters from being used in custom property
names.

This commit checks for these characters to `idp_try_read_name`, where
other checks like length are already done.

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

Commit Details:

Full Hash: cbae82ba960a0baaae6437b176a310f078ce07d8
Parent Commit: 6262016
Lines Changed: +7, -0

1 Modified Path:

/source/blender/python/generic/idprop_py_api.c (+7, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021