diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_paint_common.py')
-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() |