ObjectMode: Fix Outlines being drawn for BBox meshes
This commit is contained in:
parent
91e5e02aff
commit
fd61b49d50
|
@ -2629,7 +2629,7 @@ static void OBJECT_cache_populate(void *vedata, Object *ob)
|
|||
}
|
||||
|
||||
const bool do_outlines = (draw_ctx->v3d->flag & V3D_SELECT_OUTLINE) && ((ob->base_flag & BASE_SELECTED) != 0) &&
|
||||
(DRW_object_is_renderable(ob) || (ob->dt == OB_WIRE));
|
||||
((DRW_object_is_renderable(ob) && (ob->dt > OB_WIRE)) || (ob->dt == OB_WIRE));
|
||||
const bool show_relations = ((draw_ctx->v3d->flag & V3D_HIDE_HELPLINES) == 0);
|
||||
const bool hide_object_extra = (v3d->overlay.flag & V3D_OVERLAY_HIDE_OBJECT_XTRAS) != 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue