From 0adc1ba209c24a2200c2e42f75e735da0a5f9c2d Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Thu, 27 Mar 2014 00:04:40 +0200 Subject: Attempt to fix T39412 do not use different stroke property names for different paint systems. This was done due to different stroke sets being supported for each system, but this lead to trouble if we changed the names (due to different stroke sets being supported) and users created custom keymaps with the old property name saved. The first part of this fix addresses master. A similar commit will be done to soc-2013-paint. --- release/scripts/startup/bl_ui/space_view3d_toolbar.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index f180e30f9dc..3f8432204b5 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -1119,10 +1119,7 @@ class VIEW3D_PT_tools_brush_stroke(Panel, View3DPaintPanel): col.label(text="Stroke Method:") - if context.sculpt_object: - col.prop(brush, "sculpt_stroke_method", text="") - else: - col.prop(brush, "stroke_method", text="") + col.prop(brush, "stroke_method", text="") if brush.use_anchor: col.separator() -- cgit v1.2.3