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:
authorCampbell Barton <ideasman42@gmail.com>2017-04-20 14:12:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-04-20 14:16:37 +0300
commit84c464a4b85d4f6f71d33f9a0a3a41b1d046fe60 (patch)
tree565f6bb7a7d94786a6a7c52d07a4ea4fa42e55e1 /source/blender/draw/modes/edit_lattice_mode.c
parent3d17ece53924aae7289d279bf139ca444dd5bf82 (diff)
Use theme vertex size for lattice & curve vertices
Diffstat (limited to 'source/blender/draw/modes/edit_lattice_mode.c')
-rw-r--r--source/blender/draw/modes/edit_lattice_mode.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/draw/modes/edit_lattice_mode.c b/source/blender/draw/modes/edit_lattice_mode.c
index a73b49108bd..1c986ea1936 100644
--- a/source/blender/draw/modes/edit_lattice_mode.c
+++ b/source/blender/draw/modes/edit_lattice_mode.c
@@ -171,13 +171,11 @@ static void EDIT_LATTICE_cache_init(void *vedata)
psl->wire_pass = DRW_pass_create(
"Lattice Wire",
DRW_STATE_WRITE_COLOR | DRW_STATE_WRITE_DEPTH | DRW_STATE_DEPTH_LESS | DRW_STATE_WIRE);
-
stl->g_data->wire_shgrp = DRW_shgroup_create(e_data.wire_sh, psl->wire_pass);
psl->vert_pass = DRW_pass_create(
"Lattice Verts",
- DRW_STATE_WRITE_COLOR | DRW_STATE_WRITE_DEPTH);
-
+ DRW_STATE_WRITE_COLOR | DRW_STATE_WRITE_DEPTH | DRW_STATE_POINT);
stl->g_data->vert_shgrp = DRW_shgroup_create(e_data.overlay_vert_sh, psl->vert_pass);
}
}