Skip to content

Commit

Permalink
fix: issue with parsed image ids solved
Browse files Browse the repository at this point in the history
  • Loading branch information
Onetchou authored and slspencer committed Sep 5, 2024
1 parent 67717b4 commit 6cee225
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/seamly2d/xml/vpattern.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -969,6 +969,8 @@ void VPattern::parseImageElement(QDomElement &domElement, const Document &parse)
image.basepoint = GetParametrUInt(domElement, AttrBasepoint, 0);
image.visible = getParameterBool(domElement, AttrVisible, trueStr);

VContainer::UpdateId(image.id);

if(parse == Document::FullParse)
{
ImageTool *image_tool = new ImageTool(this, this, draftScene, image);
Expand Down

0 comments on commit 6cee225

Please sign in to comment.