[Bf-blender-cvs] [b988309] master: Fix wrong property type usage
Julian Eisel
noreply at git.blender.org
Sat Aug 6 06:33:37 CEST 2016
Commit: b98830902883401412c79638fe5e2b14219a07b1
Author: Julian Eisel
Date: Sat Aug 6 06:32:44 2016 +0200
Branches: master
https://developer.blender.org/rBb98830902883401412c79638fe5e2b14219a07b1
Fix wrong property type usage
Prints error on startup.
===================================================================
M source/blender/editors/gpencil/gpencil_ops.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_ops.c b/source/blender/editors/gpencil/gpencil_ops.c
index 0f94c68..50f4e79 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);
More information about the Bf-blender-cvs
mailing list