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); } }