Stencil dimension control:
[blender.git] / release / scripts / startup / bl_ui / properties_paint_common.py
index ce7335d29755111ee46c88094be193e6c4622efd..b130a8a275d457c70f8ebbbb5669f86a55988367 100644 (file)
@@ -82,6 +82,9 @@ def brush_texture_settings(layout, brush, sculpt):
     else:
         layout.row().prop(tex_slot, "tex_paint_map_mode", text="")
         layout.separator()
+    
+    if tex_slot.map_mode == 'STENCIL':
+        layout.operator("brush.stencil_fit_image_aspect")
 
     # angle and texture_angle_source
     col = layout.column()