From f9c87b86fc03e6239c7be53a20aeec1b735c293d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 9 Jan 2013 13:25:46 +0000 Subject: partial fix for [#32581] Mesh properties API does not allow for zeros in byte array bmesh access allows zero bytes, support still needs adding via RNA. --- source/blender/makesdna/DNA_meshdata_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_meshdata_types.h') diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h index 0c193e9be21..ffa5e420fca 100644 --- a/source/blender/makesdna/DNA_meshdata_types.h +++ b/source/blender/makesdna/DNA_meshdata_types.h @@ -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 { -- cgit v1.2.3