I saw a neat trick on a flintlock site where a guy used carbon paper between to pieces of wood to mark the high spots to get a perfect fit.
I shine a light behind the pieces and look for light coming through to see the high spots. This only works if your added piece goes all the way through the wood.
I eyeballed this patch on a badly cut precarve flintlock lock panel, it took me hours to get what I thought was a perfect fit, and it was. I am pretty sure I shined a bright led light inside the mortise and looked for gaps on the outside. As you can see, the lower glue surface was snaky, not straight.