FashionFreedom / Seamly2D

Open source patternmaking software to democratize fashion.
https://seamly.io
GNU General Public License v3.0
616 stars 111 forks source link

bug: fix xml tag order #1214

Open DSCaskey opened 4 days ago

DSCaskey commented 4 days ago

This PR fixes the order of the groups and images XML tags. Instead of writing those tags as one of those resources is added, the app will now create the tags when the draftblock basepoint is created - maintaining the proper draftblock structure.

<draftBlock name="Draft block 1">
    <calculation>
        <point id="1" mx="0.0520833" my="0.104167" name="A" showPointName="true" type="single" x="0.3125" y="0.416667"/>
    </calculation>
    <modeling/>
    <pieces/>
    <groups/>
    <images/>
</draftBlock>

This closes issue #1213

what-the-diff[bot] commented 4 days ago

PR Summary 📝

Awesome work everyone! Our code is going to read like a well-written novel thanks to these changes! 📚

Great job everyone! Keep those fantastic updates coming! 💪😊