Fix T38714: MeshPolygon.center not a Vector type

This commit is contained in:
Campbell Barton 2014-02-19 13:19:56 +11:00
parent 64664541b6
commit 8f5775810b
Notes: blender-bot 2023-02-14 20:10:50 +01:00
Referenced by issue blender/blender-addons#38714, MeshPolygon.center not a mathutils.Vector type
1 changed files with 1 additions and 1 deletions

View File

@ -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);