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:
authorCampbell Barton <ideasman42@gmail.com>2018-10-05 07:53:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-05 07:54:53 +0300
commit402bde39d135d2bbc314743f37f65693597c57b1 (patch)
tree183301f6dbb8c0828d8059b7ed005bd800671a8d /source/blender/editors/space_buttons/space_buttons.c
parent19d8aa5652bde6e7c61af3601c75c12399370fb8 (diff)
UI: show uv sculpt options in topbar & toolsettings
Diffstat (limited to 'source/blender/editors/space_buttons/space_buttons.c')
-rw-r--r--source/blender/editors/space_buttons/space_buttons.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/space_buttons/space_buttons.c b/source/blender/editors/space_buttons/space_buttons.c
index 56d70d10a96..14ab00cbef5 100644
--- a/source/blender/editors/space_buttons/space_buttons.c
+++ b/source/blender/editors/space_buttons/space_buttons.c
@@ -260,7 +260,10 @@ static void buttons_main_region_layout_tool(const bContext *C, ARegion *ar)
}
}
else if (workspace->tools_space_type == SPACE_IMAGE) {
- /* TODO */
+ switch (mode) {
+ case CTX_MODE_EDIT_MESH:
+ ARRAY_SET_ITEMS(contexts, ".uv_sculpt");
+ }
}
/* for grease pencil we don't use tool system yet, so we need check outside