diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-04-23 15:34:18 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-04-23 15:34:18 +0400 |
commit | 8f486bdadc5824456c96d352d837ad0b7275f936 (patch) | |
tree | a8d6ba3762628a4691bf17bbd8d35a95c9e13d19 /release/scripts | |
parent | 47b172d39d3d3bb212f2d158848f33443a1277ab (diff) |
Fix missing feature: fit mask stencil to aspect.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_paint_common.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py index 3b9256c6ec9..56b82655e47 100644 --- a/release/scripts/startup/bl_ui/properties_paint_common.py +++ b/release/scripts/startup/bl_ui/properties_paint_common.py @@ -126,6 +126,9 @@ def brush_mask_texture_settings(layout, brush): layout.row().prop(mask_tex_slot, "mask_map_mode", text="") layout.separator() + if mask_tex_slot.map_mode == 'STENCIL': + layout.operator("brush.stencil_fit_image_aspect").mask = True + if brush.mask_texture: layout.label(text="Mask Mapping:") col = layout.column() |