Page MenuHome

Sculpt mask pie menu issue
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Linux-5.3.0-51-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 560 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.132

Blender Version
Broken: version: 2.90 (sub 0), branch: master, commit date: 2020-05-03 22:25, hash: rB33bdd91fb825
Worked: (newest version of Blender that worked as expected)

Short description of error
The 'Clear Mask' option in the Mask pie menu in Sculpt mode not always clears the mask. If model was filled with mask from menu 'Mask', pie menu clear will not "clear" it. Instead, if after filling mask by menu invert it by the pie and then "clear" it by pie model will be fully masked. Although, 'Clear Mask' in 'Mask' menu clears mask every time.
I'm not a programmer but I think it can be easily fixed by changing 'Clear mask' pie item with code that in the 'Mask' menu:

bpy.ops.paint.mask_flood_fill(mode='VALUE', value=0)

Now it is missing that 'value=0' item.

Exact steps for others to reproduce the error

  • Add object
  • Go to Sculpt mode
  • 'Mask' menu 'Fill mask'
  • Pie menu 'Clear Mask' (hotkey "A")