Number of elements per curvature

I confirmed the problem of showing the warning dialog. I changed the routine to check the equality of the mesh. Hopefully, it will work better now. The version 2.1.8 does not include this fix.