diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-07-10 19:30:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-10 19:31:52 +0300 |
commit | 8a3366a494cf2939138a96cb93a2b666a3be77c8 (patch) | |
tree | d28dff5ae44a12b31cb3581e7b5ea949b8102cf3 /source/blender/makesrna | |
parent | 245d0d6bb71376ce782ec03bb1622309b9f38aab (diff) |
3D View: option to hide object overlays
This hides extra wires and details you may want to disable,
name may be changed.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 81efcf3c4dd..752972b0797 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -2637,6 +2637,11 @@ static void rna_def_space_view3d_overlay(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Show Text", "Display overlay text"); RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL); + prop = RNA_def_property(srna, "show_ornaments", PROP_BOOLEAN, PROP_NONE); + RNA_def_property_boolean_negative_sdna(prop, NULL, "overlay.flag", V3D_OVERLAY_HIDE_OBJECT_XTRAS); + RNA_def_property_ui_text(prop, "Ornaments", "Object details, including empty wire, cameras and other extras"); + RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL); + prop = RNA_def_property(srna, "show_bones", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_negative_sdna(prop, NULL, "overlay.flag", V3D_OVERLAY_HIDE_BONES); RNA_def_property_ui_text(prop, "Show Bones", "Display bones"); |