<div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Hi Gonzalo, </span></div><div><font color="#222222" face="arial, sans-serif">at the first look, i do not trust little to this : </font></div>
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">myPolyData->ShallowCopy(</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">otherPolyData);</span>
<div><font color="#222222" face="arial, sans-serif">I think that this will make that myPolyData is pointing internally to same shared memory (points, celles ...) as otherPolyData.</font></div><div><font color="#222222" face="arial, sans-serif">Than you run subdivision, so you change structure both polydata holders are pointing to.</font></div>
<div><font color="#222222" face="arial, sans-serif">Finally you append two same polydata holders pointing to same place ...</font></div><div><font color="#222222" face="arial, sans-serif">What was intention ? Perhaps instead of ShallowCopy , DeepCopy should be used ..</font></div>
<div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">J.</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div>