update setMesh() to use the object returned by shape_display