Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d.py
| Show First 20 Lines • Show All 2,995 Lines • ▼ Show 20 Lines | def draw(self, _context): | ||||
| props = layout.operator("paint.mask_flood_fill", text="Fill Mask") | props = layout.operator("paint.mask_flood_fill", text="Fill Mask") | ||||
| props.mode = 'VALUE' | props.mode = 'VALUE' | ||||
| props.value = 1 | props.value = 1 | ||||
| props = layout.operator("paint.mask_flood_fill", text="Clear Mask") | props = layout.operator("paint.mask_flood_fill", text="Clear Mask") | ||||
| props.mode = 'VALUE' | props.mode = 'VALUE' | ||||
| props.value = 0 | props.value = 0 | ||||
| props = layout.operator("view3d.select_box", text="Box Mask") | props = layout.operator("paint.mask_box_gesture", text="Box Mask") | ||||
| props.mode = 'VALUE' | |||||
| props.value = 0 | |||||
| props = layout.operator("paint.mask_lasso_gesture", text="Lasso Mask") | props = layout.operator("paint.mask_lasso_gesture", text="Lasso Mask") | ||||
| layout.separator() | layout.separator() | ||||
| props = layout.operator("sculpt.mask_filter", text='Smooth Mask') | props = layout.operator("sculpt.mask_filter", text='Smooth Mask') | ||||
| props.filter_type = 'SMOOTH' | props.filter_type = 'SMOOTH' | ||||
| props.auto_iteration_count = True | props.auto_iteration_count = True | ||||
| ▲ Show 20 Lines • Show All 4,623 Lines • Show Last 20 Lines | |||||