diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-30 09:21:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-30 09:21:03 +0300 |
commit | e74d7d6f81356b8b3a5a843a4dbb87fe1909fb14 (patch) | |
tree | 984a86c85ee57a94580c9d8db7d332c75e700645 /source/blender/makesrna/intern/rna_mesh.c | |
parent | 7dd24ba6e84cf48b0d1ce60abaedfcd94cd5d5f6 (diff) |
3D View: option to always show center in face mode
This matches 2.7x behavior
Diffstat (limited to 'source/blender/makesrna/intern/rna_mesh.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_mesh.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_mesh.c b/source/blender/makesrna/intern/rna_mesh.c index 041fd352658..53c5da243fe 100644 --- a/source/blender/makesrna/intern/rna_mesh.c +++ b/source/blender/makesrna/intern/rna_mesh.c @@ -3523,6 +3523,11 @@ static void rna_def_mesh(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Draw Faces", "Display all faces as shades in the 3D view and UV editor"); RNA_def_property_update(prop, 0, "rna_Mesh_update_draw"); + prop = RNA_def_property(srna, "show_face_center", PROP_BOOLEAN, PROP_NONE); + RNA_def_property_boolean_sdna(prop, NULL, "drawflag", ME_DRAW_FACE_DOT); + RNA_def_property_ui_text(prop, "Draw Face Center", "Display face center"); + RNA_def_property_update(prop, 0, "rna_Mesh_update_draw"); + prop = RNA_def_property(srna, "show_edge_crease", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "drawflag", ME_DRAWCREASES); RNA_def_property_ui_text(prop, "Draw Creases", "Display creases created for Subdivision Surface modifier"); |