Fix T57368: Multi-Object-Mode: Edit Lattice draws only active
As it turned out the issue wasn't that we were drawing only the active, but that the "object mode" lattice drawing was drawing on top of the drawing for all the edit mode lattice objects. We are doing the same original behaviour for curves and even meshes. To be investigated if it is ok for those other cases.
This commit is contained in:
@@ -2697,7 +2697,7 @@ static void OBJECT_cache_populate(void *vedata, Object *ob)
|
||||
break;
|
||||
case OB_LATTICE:
|
||||
{
|
||||
if (ob != draw_ctx->object_edit) {
|
||||
if (ob != draw_ctx->object_edit && !BKE_object_is_in_editmode(ob)) {
|
||||
if (hide_object_extra) {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user