partial fix for [#32581] Mesh properties API does not allow for zeros in byte array
[blender.git] / source / blender / makesdna / DNA_meshdata_types.h
index 0c193e9be210f9e9451950c86d4e92ea6c2d0484..ffa5e420fcacd8fe2803ce7f1c462c13bbbe316e 100644 (file)
@@ -167,7 +167,7 @@ typedef struct MIntProperty {
        int             i;
 } MIntProperty;
 typedef struct MStringProperty {
-       char    s[256];
+       char    s[255], s_len;
 } MStringProperty;
 
 typedef struct OrigSpaceFace {