Fix T78823: Slash in custom property name does not work
This fixes inserting key-frames for any collection names containing a back-slash too (bones, modifiers, sequence strips etc).
This commit is contained in:
parent
d1cedf53fa
commit
ceba6b2c21
Notes:
blender-bot
2023-02-14 19:45:25 +01:00
Referenced by issue #84091, Crash when going to Properties Editor object properties with Custom Property containing nested dictionary [named "asset_data"] Referenced by issue #78823, Slash in custom property name does not work
|
@ -5033,7 +5033,7 @@ static char *rna_path_token(const char **path, char *fixedbuf, int fixedlen, int
|
|||
/* copy string, taking into account escaped ] */
|
||||
if (bracket) {
|
||||
for (p = *path, i = 0, j = 0; i < len; i++, p++) {
|
||||
if (*p == '\\' && *(p + 1) == quote) {
|
||||
if (*p == '\\' && ELEM(*(p + 1), quote, '\\')) {
|
||||
}
|
||||
else {
|
||||
buf[j++] = *p;
|
||||
|
|
Loading…
Reference in New Issue