Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/overlay/overlay_wireframe.c
| Show First 20 Lines • Show All 224 Lines • ▼ Show 20 Lines | if (geom || use_sculpt_pbvh) { | ||||
| shgrp = pd->wires_grp[is_xray][use_coloring]; | shgrp = pd->wires_grp[is_xray][use_coloring]; | ||||
| } | } | ||||
| if (ob->type == OB_GPENCIL) { | if (ob->type == OB_GPENCIL) { | ||||
| /* TODO (fclem) Make GPencil objects have correct boundbox. */ | /* TODO (fclem) Make GPencil objects have correct boundbox. */ | ||||
| DRW_shgroup_call_no_cull(shgrp, geom, ob); | DRW_shgroup_call_no_cull(shgrp, geom, ob); | ||||
| } | } | ||||
| else if (use_sculpt_pbvh) { | else if (use_sculpt_pbvh) { | ||||
| DRW_shgroup_call_sculpt(shgrp, ob, true, false, false); | DRW_shgroup_call_sculpt(shgrp, ob, true, false); | ||||
| } | } | ||||
| else { | else { | ||||
| DRW_shgroup_call(shgrp, geom, ob); | DRW_shgroup_call(shgrp, geom, ob); | ||||
| } | } | ||||
| } | } | ||||
| if (dupli) { | if (dupli) { | ||||
| dupli->wire_shgrp = shgrp; | dupli->wire_shgrp = shgrp; | ||||
| ▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines | |||||