Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Dobarro <pablodp606@gmail.com>2019-12-13 05:55:15 +0300
committerPablo Dobarro <pablodp606@gmail.com>2019-12-13 23:35:51 +0300
commitc6ba9413393465a5ca336d053723a63b9ee76e45 (patch)
tree89e2a4638c66d1b0e9223db96cfd49e4c6caf2c7 /release/scripts/startup/bl_ui/space_image.py
parentc4203ef17d773898b76393e52795c01e8cb2ed6f (diff)
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
Diffstat (limited to 'release/scripts/startup/bl_ui/space_image.py')
-rw-r--r--release/scripts/startup/bl_ui/space_image.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index 5af9fed83f8..da1df5bd660 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -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):