From ebe86addc060204d27418b6dfd541e2dbae75538 Mon Sep 17 00:00:00 2001 From: Jacob Merson Date: Mon, 30 May 2022 22:41:01 -0400 Subject: [PATCH] Fixes 364 Thanks @JaredCrean2 Patch for fixing mesh reordering with ghosting. Thanks Jared. --- mds/mds_order.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mds/mds_order.c b/mds/mds_order.c index d8ac16921..d134a94fb 100644 --- a/mds/mds_order.c +++ b/mds/mds_order.c @@ -400,6 +400,9 @@ static struct mds_apf* rebuild( rebuild_net(&m->matches, &m->mds, &m2->matches, &m2->mds, new_of); + rebuild_net(&m->ghosts, &m->mds, + &m2->ghosts, &m2->mds, + new_of); } mds_destroy_tag(&m2->tags, old_of); return m2;