diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2016-08-06 07:32:44 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2016-08-06 07:33:28 +0300 |
commit | b98830902883401412c79638fe5e2b14219a07b1 (patch) | |
tree | 208a1c35d5e10c29a9833d8d2017917794b7bf77 /source/blender/editors/gpencil | |
parent | cd809b95d828677468298f1eba54fc52bbb9db60 (diff) |
Fix wrong property type usage
Prints error on startup.
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_ops.c b/source/blender/editors/gpencil/gpencil_ops.c index 0f94c680364..50f4e795d70 100644 --- a/source/blender/editors/gpencil/gpencil_ops.c +++ b/source/blender/editors/gpencil/gpencil_ops.c @@ -244,7 +244,7 @@ static void ed_keymap_gpencil_editing(wmKeyConfig *keyconf) WM_keymap_add_item(keymap, "GPENCIL_OT_stroke_join", JKEY, KM_PRESS, KM_CTRL, 0); kmi = WM_keymap_add_item(keymap, "GPENCIL_OT_stroke_join", JKEY, KM_PRESS, KM_CTRL | KM_SHIFT, 0); - RNA_boolean_set(kmi->ptr, "type", GP_STROKE_JOINCOPY); + RNA_enum_set(kmi->ptr, "type", GP_STROKE_JOINCOPY); /* copy + paste */ WM_keymap_add_item(keymap, "GPENCIL_OT_copy", CKEY, KM_PRESS, KM_CTRL, 0); |