diff options
author | Joshua Leung <aligorith@gmail.com> | 2014-11-30 16:28:41 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2014-11-30 16:28:41 +0300 |
commit | 5f4c99e66fe38986af08d94a6426f36381718c6f (patch) | |
tree | 76efc212e1427e71c6b68ca4d9bba6469bbdc385 /source/blender/editors/gpencil | |
parent | 75aaa476cb84b46b2ad85fd17ce715327181c0d8 (diff) |
Fix for wrong RNA type causing asserts to fail in debug mode
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 ac3ef5f35e3..77fc0d49eb9 100644 --- a/source/blender/editors/gpencil/gpencil_ops.c +++ b/source/blender/editors/gpencil/gpencil_ops.c @@ -237,7 +237,7 @@ void ED_operatormacros_gpencil(void) OPTYPE_UNDO | OPTYPE_REGISTER); WM_operatortype_macro_define(ot, "GPENCIL_OT_duplicate"); otmacro = WM_operatortype_macro_define(ot, "TRANSFORM_OT_translate"); - RNA_enum_set(otmacro->ptr, "gpencil_strokes", true); + RNA_boolean_set(otmacro->ptr, "gpencil_strokes", true); } /* ****************************************** */ |