Fix #98973: Renaming Custom Python Properties is Incorrect #107983

Manually merged
Brecht Van Lommel merged 1 commits from guishe/blender:rename-property into main 2023-06-13 19:55:15 +02:00

1 Commits

Author SHA1 Message Date
Guillermo Venegas 72c49f8c11 Fix #98973: Renaming Custom Python Properties is Incorrect
`PyUnicode_AsUTF8AndSize` is used when renaming a custom python property,
this method stores the size of the string without including the null
terminator in the size.

Renaming a custom python property now includes the null terminator when
copying the new string name.
2023-05-16 10:47:13 -06:00