Draw Manager: hide 2d curves normals
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user