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.
This commit is contained in:
2014-03-27 00:04:40 +02:00
parent 10e7544586
commit 0adc1ba209
3 changed files with 32 additions and 27 deletions

View File

@@ -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()