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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-04-29 09:47:14 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-04-29 10:22:00 +0300
commit03957b9487d3ab6ee6e14fb8848d08ca97cd3d70 (patch)
tree7ff13f22ccce7a70599ae49f9199bcdc6f409459 /source/blender/editors/space_view3d/view3d_header.c
parent97c7db168db2fdcf7049ca07d568f08bb52ed4de (diff)
3D View: move shading and overlay settings into popovers.
* This is just moving buttons to get a bit closer to the intended design, better naming and layout is needed. * Popovers currently work best when the 3D view header is at the top, with the most important settings nearest to the mouse. Open design question is if we should flip (part of) the buttons if header is at the bottom. * Another question is if selecintg a shading mode enum should immediately close the popover since those are changed often, unlike the other settings for which it seems more convenient to keep the popover open.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_header.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_header.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/editors/space_view3d/view3d_header.c b/source/blender/editors/space_view3d/view3d_header.c
index 6038a53f8a2..8f6f0b70fdc 100644
--- a/source/blender/editors/space_view3d/view3d_header.c
+++ b/source/blender/editors/space_view3d/view3d_header.c
@@ -303,12 +303,6 @@ void uiTemplateHeader3D(uiLayout *layout, struct bContext *C)
/* other buttons: */
UI_block_emboss_set(block, UI_EMBOSS);
- /* Draw type */
- uiItemR(layout, &v3dptr, "viewport_shade", UI_ITEM_R_ICON_ONLY, "", ICON_NONE);
- if (v3d->drawtype == OB_SOLID) {
- uiItemR(layout, &v3dptr, "viewport_lighting", 0, "", ICON_NONE);
- }
-
row = uiLayoutRow(layout, true);
uiItemR(row, &v3dptr, "pivot_point", UI_ITEM_R_ICON_ONLY, "", ICON_NONE);
if (!ob || ELEM(ob->mode, OB_MODE_OBJECT, OB_MODE_POSE, OB_MODE_WEIGHT_PAINT)) {