Fix T72409: Remove references to Unified use_pressure_size and use_pressure_strength

This was causing errors to show in the terminal.

Reviewed By: campbellbarton

Maniphest Tasks: T72409

Differential Revision: https://developer.blender.org/D6407
This commit is contained in:
Pablo Dobarro
2019-12-13 03:55:15 +01:00
parent c4203ef17d
commit c6ba941339

View File

@@ -605,11 +605,11 @@ class _draw_tool_settings_context_mode:
row = layout.row(align=True) row = layout.row(align=True)
UnifiedPaintPanel.prop_unified_size(row, context, brush, "size", slider=True) UnifiedPaintPanel.prop_unified_size(row, context, brush, "size", slider=True)
UnifiedPaintPanel.prop_unified_size(row, context, brush, "use_pressure_size", text="") row.prop(brush, "use_pressure_size", text="")
row = layout.row(align=True) row = layout.row(align=True)
UnifiedPaintPanel.prop_unified_strength(row, context, brush, "strength", slider=True) UnifiedPaintPanel.prop_unified_strength(row, context, brush, "strength", slider=True)
UnifiedPaintPanel.prop_unified_strength(row, context, brush, "use_pressure_strength", text="") row.prop(brush, "use_pressure_strength", text="")
@staticmethod @staticmethod
def PAINT(context, layout, tool): def PAINT(context, layout, tool):