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
Notes: blender-bot 2023-02-14 10:04:50 +01:00
Referenced by issue #72841, Blender does not recognize and use my Nvidia GPU. It only uses the integrated intel graphics card
Referenced by issue #72409, UnifiedPaintSettings.use_pressure_size errors reported in the terminal
1 changed files with 2 additions and 2 deletions

View File

@ -605,11 +605,11 @@ class _draw_tool_settings_context_mode:
row = layout.row(align=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)
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
def PAINT(context, layout, tool):