The pointer is causing issues since two objects can share an edit-mesh, removing in stages, see T72848. Also fixes the material index being clamped by every object.
The pointer is causing issues since two objects can share an edit-mesh, removing in stages, see T72848. Also fixes the material index being clamped by every object.