From 6cee2252a2b47a53af22b5cdc602f7f6430818a2 Mon Sep 17 00:00:00 2001 From: Onetchou <83351185+Onetchou@users.noreply.github.com> Date: Sun, 1 Sep 2024 15:12:54 +0200 Subject: [PATCH] fix: issue with parsed image ids solved --- src/app/seamly2d/xml/vpattern.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/seamly2d/xml/vpattern.cpp b/src/app/seamly2d/xml/vpattern.cpp index 9a4069dd0af2..5e5a4d16ff94 100644 --- a/src/app/seamly2d/xml/vpattern.cpp +++ b/src/app/seamly2d/xml/vpattern.cpp @@ -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);