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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-02-19 06:19:56 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-19 06:21:25 +0400
commit8f5775810b820c7de100d9d154d94dc2f58ee598 (patch)
tree0a7ae09a31f33c934a9fe67e8db7238041858f9f /source
parent64664541b696998e3b12bfcd43fa9cc892d1e758 (diff)
Fix T38714: MeshPolygon.center not a Vector type
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_mesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_mesh.c b/source/blender/makesrna/intern/rna_mesh.c
index 5d4f3e68d5b..bdd94b73c44 100644
--- a/source/blender/makesrna/intern/rna_mesh.c
+++ b/source/blender/makesrna/intern/rna_mesh.c
@@ -2002,7 +2002,7 @@ static void rna_def_mpolygon(BlenderRNA *brna)
RNA_def_property_float_funcs(prop, "rna_MeshPolygon_normal_get", NULL, NULL);
RNA_def_property_ui_text(prop, "Polygon Normal", "Local space unit length normal vector for this polygon");
- prop = RNA_def_property(srna, "center", PROP_FLOAT, PROP_NONE);
+ prop = RNA_def_property(srna, "center", PROP_FLOAT, PROP_XYZ);
RNA_def_property_array(prop, 3);
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
RNA_def_property_float_funcs(prop, "rna_MeshPolygon_center_get", NULL, NULL);