diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-07-21 21:24:03 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-07-21 21:24:22 +0400 |
commit | 86059f03eb60bf3d37e8501ef278d4b090a86ae6 (patch) | |
tree | e5ed6b690d154c5f6d916d66ddc2b88428397b91 /release/scripts/startup/bl_ui/space_view3d_toolbar.py | |
parent | 6a2cefc061ec3805ce3f47bf76b728943fb2e4a7 (diff) |
Make clone tool UI slightly less horrible.
Move clone tool options as well as layer selection to the brush panel.
That should make its use more apparent and, most importantly, easy.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d_toolbar.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 99b2b852936..256110a5d80 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -982,7 +982,7 @@ class VIEW3D_PT_tools_brush(Panel, View3DPaintPanel): # Texture Paint Mode # elif context.image_paint_object and brush: - brush_texpaint_common(self, context, layout, brush, settings) + brush_texpaint_common(self, context, layout, brush, settings, True) # Weight Paint Mode # elif context.weight_paint_object and brush: @@ -1087,12 +1087,6 @@ class VIEW3D_PT_slots_projectpaint(View3DPanel, Panel): row.prop(settings, "slot_yresolution_default") col.prop(settings, "slot_color_default") - if brush.image_tool == 'CLONE' and settings.use_clone_layer: - col.label("Clone Slot") - col.template_list("TEXTURE_UL_texpaintslots", "", - mat, "texture_paint_slots", - mat, "paint_clone_slot", rows=2) - class VIEW3D_PT_tools_brush_overlay(Panel, View3DPaintPanel): bl_category = "Options" @@ -1637,10 +1631,6 @@ class VIEW3D_PT_tools_projectpaint(View3DPaintPanel, Panel): col.template_ID(ipaint, "stencil_image", new="image.new") col.prop(ipaint, "stencil_color") - col = layout.column() - col.active = (settings.brush.image_tool == 'CLONE') - col.prop(ipaint, "use_clone_layer", text="Clone from paint slot") - layout.prop(ipaint, "seam_bleed") self.unified_paint_settings(layout, context) |