diff options
author | Antonioya <blendergit@gmail.com> | 2019-02-27 22:46:04 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-02-28 19:13:05 +0300 |
commit | 9ddc2064a4c7b0a40882be943f76b2e26f2334d3 (patch) | |
tree | bcc7b02f7b646c2369068d4149c05eb858c280c2 /source/blender/editors/object | |
parent | 461b1bdfbf0a21edc84ca81d015a12c51b7d1a4d (diff) |
GPencil: Remove dummy marker for Grease Pencil objects
After adding selecction using strokes, the dummy is not required because it was added as a provisional solution while we implement stroke selection.
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r-- | source/blender/editors/object/object_add.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c index b95aa6c787a..425035d41cc 100644 --- a/source/blender/editors/object/object_add.c +++ b/source/blender/editors/object/object_add.c @@ -1018,12 +1018,9 @@ static int object_gpencil_add_exec(bContext *C, wmOperator *op) } } - float radius = RNA_float_get(op->ptr, "radius"); ob = ED_object_add_type(C, OB_GPENCIL, ob_name, loc, rot, true, local_view_bits); gpd = ob->data; newob = true; - - BKE_object_obdata_size_init(ob, GP_OBGPENCIL_DEFAULT_SIZE * radius); } else { DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY); |