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:
authorWilliam Reynish <billrey@me.com>2020-02-02 22:14:33 +0300
committerWilliam Reynish <billrey@me.com>2020-02-02 22:14:33 +0300
commit7e60e7a1858cca497bf355d80b448a32a1a69363 (patch)
tree6ee704905a7665c4c428ae98326a829daeaf56f5 /source/blender/editors/sculpt_paint
parent0a09fe7831395258461a78ebd2f0900036a17827 (diff)
UI: Re-organize Sculpt Symmetrize controls
Currently the UI for Symmetrize is confusing, for a few reasons: - It exists as a sub-panel to the Dyntopo panel, even though it doesn't require Dyntopo to work - It is inside a panel called Remesh, which is confusing because we now have a different Remesh panel Changes: - Put the Symmetrize controls in the Symmetry panel - Rename Optimize to Rebuild BVH and move to the Sculpt menu - Change the poll function - apparently it doesn't require Dyntopo Differential Revision: https://developer.blender.org/D6735 Reviewed by Pablo Dobarro
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 5663b109dc4..2bc36be42ab 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -8308,13 +8308,13 @@ static bool sculpt_and_dynamic_topology_poll(bContext *C)
static void SCULPT_OT_optimize(wmOperatorType *ot)
{
/* identifiers */
- ot->name = "Optimize";
+ ot->name = "Rebuild BVH";
ot->idname = "SCULPT_OT_optimize";
ot->description = "Recalculate the sculpt BVH to improve performance";
/* api callbacks */
ot->exec = sculpt_optimize_exec;
- ot->poll = sculpt_and_dynamic_topology_poll;
+ ot->poll = sculpt_mode_poll;
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
}