Commit: c6ba9413393465a5ca336d053723a63b9ee76e45 Author: Pablo Dobarro Date: Fri Dec 13 03:55:15 2019 +0100 Branches: master https://developer.blender.org/rBc6ba9413393465a5ca336d053723a63b9ee76e45
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 =================================================================== M release/scripts/startup/bl_ui/space_image.py =================================================================== 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): _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs