System Information
Blender 2.81 (sub 12) build date: 2019-09-20 build time: 11:46:53 build commit date: 2019-09-20 build commit time: 11:05 build hash: c8b293ec057e build platform: Linux build type: RelWithDebInfo
Exact steps for others to reproduce the error
+ Print the value in properties_paint_common.py:292
+ Go to weight paint mode.
+ Switch between the available tools in the toolbar.
+ Look at the output and the brush weight widget in the sidebar.
# Share between topbar and brush panel.
def brush_basic_wpaint_settings(layout, context, brush, *, compact=False):
capabilities = brush.weight_paint_capabilities
→ print("WP: has_weight", capabilities.has_weight)
if capabilities.has_weight:
row = layout.row(align=True)
UnifiedPaintPanel.prop_unified_weight(row, context, brush, "weight", slider=True)