diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-15 18:01:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-15 18:01:24 +0400 |
commit | 205b554bef36a2fa7a8d5f39be80b413a5ab0c82 (patch) | |
tree | 63f27fc2baa00f98e71b7f1a0c162dc58f7f358e /source/blender/makesrna/intern/rna_mesh.c | |
parent | 3ecb7b951e76388cca68ed07ce1aaf09265ad272 (diff) |
access mesh string data layer as bytes since this is low level data storage
Diffstat (limited to 'source/blender/makesrna/intern/rna_mesh.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_mesh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_mesh.c b/source/blender/makesrna/intern/rna_mesh.c index 63a7df09792..421c201b3f8 100644 --- a/source/blender/makesrna/intern/rna_mesh.c +++ b/source/blender/makesrna/intern/rna_mesh.c @@ -1675,7 +1675,8 @@ static void rna_def_mproperties(BlenderRNA *brna) RNA_def_struct_ui_text(srna, "Mesh String Property", "User defined string text value in a string properties layer"); RNA_def_struct_path_func(srna, "rna_MeshStringProperty_path"); - prop= RNA_def_property(srna, "value", PROP_STRING, PROP_NONE); + /* low level mesh data access, treat as bytes */ + prop= RNA_def_property(srna, "value", PROP_STRING, PROP_BYTESTRING); RNA_def_property_string_sdna(prop, NULL, "s"); RNA_def_property_ui_text(prop, "Value", ""); RNA_def_property_update(prop, 0, "rna_Mesh_update_data"); |