diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-20 21:40:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-20 21:40:16 +0300 |
commit | 2fb9c8ef125f975596b6ef9c8f021403f8279bdf (patch) | |
tree | 02633f97a682dcd4935bf9b3170dfe5841ed048a /source/blender/makesrna | |
parent | 6b9ce24338de1a33dbf41e14e85a1630b1a2b899 (diff) |
Cleanup: add missing macros to clang-format
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_mesh.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/source/blender/makesrna/intern/rna_mesh.c b/source/blender/makesrna/intern/rna_mesh.c index c76e243e100..7fb89ff6c7d 100644 --- a/source/blender/makesrna/intern/rna_mesh.c +++ b/source/blender/makesrna/intern/rna_mesh.c @@ -2076,7 +2076,8 @@ static void rna_def_mproperties(BlenderRNA *brna) prop = RNA_def_property(srna, "value", PROP_FLOAT, PROP_NONE); \ RNA_def_property_float_sdna(prop, NULL, "f"); \ RNA_def_property_ui_text(prop, "Value", ""); \ - RNA_def_property_update(prop, 0, "rna_Mesh_update_data"); + RNA_def_property_update(prop, 0, "rna_Mesh_update_data"); \ + ((void)0) /* Int */ # define MESH_INT_PROPERTY_LAYER(elemname) \ @@ -2116,7 +2117,8 @@ static void rna_def_mproperties(BlenderRNA *brna) prop = RNA_def_property(srna, "value", PROP_INT, PROP_NONE); \ RNA_def_property_int_sdna(prop, NULL, "i"); \ RNA_def_property_ui_text(prop, "Value", ""); \ - RNA_def_property_update(prop, 0, "rna_Mesh_update_data"); + RNA_def_property_update(prop, 0, "rna_Mesh_update_data"); \ + ((void)0) /* String */ # define MESH_STRING_PROPERTY_LAYER(elemname) \ @@ -2163,12 +2165,12 @@ static void rna_def_mproperties(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Value", ""); \ RNA_def_property_update(prop, 0, "rna_Mesh_update_data"); - MESH_FLOAT_PROPERTY_LAYER("Vertex") - MESH_FLOAT_PROPERTY_LAYER("Polygon") - MESH_INT_PROPERTY_LAYER("Vertex") - MESH_INT_PROPERTY_LAYER("Polygon") - MESH_STRING_PROPERTY_LAYER("Vertex") - MESH_STRING_PROPERTY_LAYER("Polygon") + MESH_FLOAT_PROPERTY_LAYER("Vertex"); + MESH_FLOAT_PROPERTY_LAYER("Polygon"); + MESH_INT_PROPERTY_LAYER("Vertex"); + MESH_INT_PROPERTY_LAYER("Polygon"); + MESH_STRING_PROPERTY_LAYER("Vertex"); + MESH_STRING_PROPERTY_LAYER("Polygon"); # undef MESH_PROPERTY_LAYER } |