From 1c40d415c9c7a3f7643bc04a2eeadd9d44e5ba65 Mon Sep 17 00:00:00 2001 From: NickHardeman Date: Fri, 14 Aug 2026 12:13:52 -0400 Subject: [PATCH] Set the new clone as the parent for ofxSvgGroup --- addons/ofxSvg/src/ofxSvgGroup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/ofxSvg/src/ofxSvgGroup.h b/addons/ofxSvg/src/ofxSvgGroup.h index 3e577bae1b4..a0eedef6ed4 100755 --- a/addons/ofxSvg/src/ofxSvgGroup.h +++ b/addons/ofxSvg/src/ofxSvgGroup.h @@ -418,7 +418,7 @@ class ofxSvgGroup : public ofxSvgElement { for( const auto& ptr : mChildren ) { if( ptr ) { auto newKid = ptr->clone(); - newKid->setParent(*this); + newKid->setParent(*newEle); newEle->mChildren.push_back(newKid); } }