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:
authorAntony Riakiotakis <kalast@gmail.com>2013-03-31 15:04:13 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-03-31 15:04:13 +0400
commit514c449a549662a29507f3a3d1eaabd7e216ea94 (patch)
tree69dc0385a50584fb78bfb4a86ee19ad77e97b049 /release
parente8d532f1dde96c40c1407d39260724fcfee0b606 (diff)
UI cleanup:
* Using masking is determined only by the presence of the texture, remove extraneous DNA flag (might cause issues later but in practice brush options are not harmful) * Overlay and angle sliders are active during stencil mapped brushes * Only draw the overlay if there's a texture.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_image.py5
-rw-r--r--release/scripts/startup/bl_ui/space_view3d_toolbar.py5
2 files changed, 0 insertions, 10 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index 488f2bddd90..3537ca62d93 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -739,11 +739,6 @@ class IMAGE_PT_tools_mask_texture(BrushButtonsPanel, Panel):
bl_label = "Texture Mask"
bl_options = {'DEFAULT_CLOSED'}
- def draw_header(self, context):
- brush = context.tool_settings.image_paint.brush
- tex_slot_alpha = brush.mask_texture_slot
- self.layout.prop(brush, 'use_mask', text="")
-
def draw(self, context):
layout = self.layout
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index efeb4ff0f1c..aa90b093c26 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -779,11 +779,6 @@ class VIEW3D_PT_tools_mask_texture(View3DPanel, Panel):
brush = context.tool_settings.image_paint.brush
return (context.image_paint_object and brush and brush.image_tool != 'SOFTEN')
- def draw_header(self, context):
- brush = context.tool_settings.image_paint.brush
- tex_slot_alpha = brush.mask_texture_slot
- self.layout.prop(brush, 'use_mask', text="")
-
def draw(self, context):
layout = self.layout