diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-04-22 20:28:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-04-22 20:28:53 +0300 |
commit | 23c4f01fb48f087b64c6ac3593d8b188df4b77b0 (patch) | |
tree | 01dc2cab57712d6f8cd698ef6c990e1063dc420c | |
parent | 4ee36a2aea3341210503578b373afa28e667e088 (diff) |
Draw Manager: hide 2d curves normals
-rw-r--r-- | source/blender/draw/modes/edit_curve_mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/edit_curve_mode.c b/source/blender/draw/modes/edit_curve_mode.c index 17a8ce9cc3d..3e316293a57 100644 --- a/source/blender/draw/modes/edit_curve_mode.c +++ b/source/blender/draw/modes/edit_curve_mode.c @@ -227,7 +227,7 @@ static void EDIT_CURVE_cache_populate(void *vedata, Object *ob) geom = DRW_cache_curve_edge_wire_get(ob); DRW_shgroup_call_add(stl->g_data->wire_shgrp, geom, ob->obmat); - if ((cu->drawflag & CU_HIDE_NORMALS) == 0) { + if ((cu->flag & CU_3D) && (cu->drawflag & CU_HIDE_NORMALS) == 0) { geom = DRW_cache_curve_edge_normal_get(ob, scene->toolsettings->normalsize); DRW_shgroup_call_add(stl->g_data->wire_shgrp, geom, ob->obmat); } |