diff options
author | Antonioya <blendergit@gmail.com> | 2019-03-05 17:11:55 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-03-05 17:12:18 +0300 |
commit | 302bba1665154edc81addfa18d7b8bc8bff6a18d (patch) | |
tree | e865f039b669a3544659e29a74acce733ec5c6f9 /source/blender | |
parent | c891fb2fbe99362ac8f3ff0821b32b84566f8f1c (diff) |
GPencil: Disable proportional for Duplicate
When duplicates a stroke using Shift+D, the proportional must be disabled.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_ops.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_ops.c b/source/blender/editors/gpencil/gpencil_ops.c index e3b13b26672..6b165f1ac8e 100644 --- a/source/blender/editors/gpencil/gpencil_ops.c +++ b/source/blender/editors/gpencil/gpencil_ops.c @@ -361,6 +361,8 @@ void ED_operatormacros_gpencil(void) WM_operatortype_macro_define(ot, "GPENCIL_OT_duplicate"); otmacro = WM_operatortype_macro_define(ot, "TRANSFORM_OT_translate"); RNA_boolean_set(otmacro->ptr, "gpencil_strokes", true); + RNA_enum_set(otmacro->ptr, "proportional", 0); + RNA_boolean_set(otmacro->ptr, "mirror", false); /* Extrude + Move = Interactively add new points */ ot = WM_operatortype_append_macro("GPENCIL_OT_extrude_move", "Extrude Stroke Points", @@ -369,6 +371,8 @@ void ED_operatormacros_gpencil(void) WM_operatortype_macro_define(ot, "GPENCIL_OT_extrude"); otmacro = WM_operatortype_macro_define(ot, "TRANSFORM_OT_translate"); RNA_boolean_set(otmacro->ptr, "gpencil_strokes", true); + RNA_enum_set(otmacro->ptr, "proportional", 0); + RNA_boolean_set(otmacro->ptr, "mirror", false); } /* ****************************************** */ |