diff options
author | Anthony Eriksson <Kony> | 2019-09-13 15:27:59 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2019-09-13 15:29:50 +0300 |
commit | 77399283d4133c50877f82b50801fcd3496bd145 (patch) | |
tree | 80c1bc170031ca8436640429319a8a69afcc8b54 | |
parent | fcf94c772f1fdd3c531adfcaee6762f0eb4bcee0 (diff) |
Fix T69037: Automerge is greyed-out in popover
Split "use_mesh_automerge_and_split" and "double_threshold" into their
own column so .active doesn't have to be applied for the entire layout.
Reviewers: billreynish, mano-wii
Differential Revision: https://developer.blender.org/D5618
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 832e5a71d20..fc3749d3d3c 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -219,9 +219,10 @@ class VIEW3D_PT_tools_meshedit_options_automerge(View3DPanel, Panel): layout.use_property_split = True layout.use_property_decorate = False - layout.active = tool_settings.use_mesh_automerge - layout.prop(tool_settings, "use_mesh_automerge_and_split", toggle=False) - layout.prop(tool_settings, "double_threshold", text="Threshold") + col = layout.column(align=True) + col.active = tool_settings.use_mesh_automerge + col.prop(tool_settings, "use_mesh_automerge_and_split", toggle=False) + col.prop(tool_settings, "double_threshold", text="Threshold") # ********** default tools for editmode_curve **************** |