DeleteShape is being called from LoadProject when clearing the project and at this point, the sliderset with valid shapeattributes has already been loaded and baseshape has been set. So when DeleteShape is called, it clears the required shape attribute.
The addition of DeleteShapeAttribute to DeleteShape was a little too dangerous to fix the shape attribute issue as it caused the above regression, so I've swapped it for a less risky fix of simply updating the existing shape attribute data when merging the slider set. At this point, it's likely that any old shape would have either been deleted or renamed and have little use for the prior target shape that may be on the old shapeAttribute.
Reference issue: https://github.com/ousnius/BodySlide-and-Outfit-Studio/issues/412
DeleteShape is being called from LoadProject when clearing the project and at this point, the sliderset with valid shapeattributes has already been loaded and baseshape has been set. So when DeleteShape is called, it clears the required shape attribute.
The addition of DeleteShapeAttribute to DeleteShape was a little too dangerous to fix the shape attribute issue as it caused the above regression, so I've swapped it for a less risky fix of simply updating the existing shape attribute data when merging the slider set. At this point, it's likely that any old shape would have either been deleted or renamed and have little use for the prior target shape that may be on the old shapeAttribute.