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:
authorAntony Riakiotakis <kalast@gmail.com>2014-03-27 02:04:40 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-03-27 02:04:59 +0400
commit0adc1ba209c24a2200c2e42f75e735da0a5f9c2d (patch)
tree0135e85428acb0d680463f8f3ad29b69db6aacb1 /source/blender/editors/sculpt_paint/paint_ops.c
parent10e754458614638cfde0cdd0e7f9858d24a4079d (diff)
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.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_ops.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_ops.c b/source/blender/editors/sculpt_paint/paint_ops.c
index 31dd4960f90..eec666426b6 100644
--- a/source/blender/editors/sculpt_paint/paint_ops.c
+++ b/source/blender/editors/sculpt_paint/paint_ops.c
@@ -1193,7 +1193,7 @@ void ED_keymap_paint(wmKeyConfig *keyconf)
/* */
kmi = WM_keymap_add_item(keymap, "WM_OT_context_menu_enum", AKEY, KM_PRESS, 0, 0);
- RNA_string_set(kmi->ptr, "data_path", "tool_settings.sculpt.brush.sculpt_stroke_method");
+ RNA_string_set(kmi->ptr, "data_path", "tool_settings.sculpt.brush.stroke_method");
kmi = WM_keymap_add_item(keymap, "WM_OT_context_toggle", SKEY, KM_PRESS, KM_SHIFT, 0);
RNA_string_set(kmi->ptr, "data_path", "tool_settings.sculpt.brush.use_smooth_stroke");