From 94b310c6931865ac2c1b9baabdd66e87e89918be Mon Sep 17 00:00:00 2001 From: Laurent Pugin Date: Tue, 21 Nov 2023 16:26:19 +0100 Subject: [PATCH] Preserve unsupported attributes with copying objects --- src/object.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/object.cpp b/src/object.cpp index e6bde61dd9c..bd6a76b6c67 100644 --- a/src/object.cpp +++ b/src/object.cpp @@ -118,7 +118,7 @@ Object::Object(const Object &object) : BoundingBox(object) // New id this->GenerateID(); // For now do not copy them - // m_unsupported = object.m_unsupported; + m_unsupported = object.m_unsupported; if (!object.CopyChildren()) { return; @@ -164,7 +164,7 @@ Object &Object::operator=(const Object &object) // New id this->GenerateID(); // For now do now copy them - // m_unsupported = object.m_unsupported; + m_unsupported = object.m_unsupported; LinkingInterface *link = this->GetLinkingInterface(); if (link) link->AddBackLink(&object);