Skip to content

Commit

Permalink
Preserve unsupported attributes with copying objects
Browse files Browse the repository at this point in the history
  • Loading branch information
lpugin committed Nov 21, 2023
1 parent c1b5ce2 commit 94b310c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 94b310c

Please sign in to comment.