Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/makesrna/intern/rna_mesh.c')
-rw-r--r--source/blender/makesrna/intern/rna_mesh.c18
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
}