Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2019-02-27 22:46:04 +0300
committerAntonioya <blendergit@gmail.com>2019-02-28 19:13:05 +0300
commit9ddc2064a4c7b0a40882be943f76b2e26f2334d3 (patch)
treebcc7b02f7b646c2369068d4149c05eb858c280c2 /source/blender/blenkernel
parent461b1bdfbf0a21edc84ca81d015a12c51b7d1a4d (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/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/object.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c
index 1b4aad16778..ddfed90fd97 100644
--- a/source/blender/blenkernel/intern/object.c
+++ b/source/blender/blenkernel/intern/object.c
@@ -1661,11 +1661,6 @@ void BKE_object_obdata_size_init(struct Object *ob, const float size)
ob->empty_drawsize *= size;
break;
}
- case OB_GPENCIL:
- {
- ob->empty_drawsize *= size;
- break;
- }
case OB_FONT:
{
Curve *cu = ob->data;
@@ -2560,7 +2555,7 @@ void BKE_object_minmax(Object *ob, float min_r[3], float max_r[3], const bool us
float size[3];
copy_v3_v3(size, ob->scale);
- if ((ob->type == OB_EMPTY) || (ob->type == OB_GPENCIL)) {
+ if (ob->type == OB_EMPTY) {
mul_v3_fl(size, ob->empty_drawsize);
}