Changes for new Mesh viewer api