@ -748,8 +748,23 @@ public class TransformDesignToPartDialog extends AbstractAIFDialog implements Ac
}
try {
win.save();
}catch(Exception e) {
TCComponent[] comps=parentRev.getTCProperty("structure_revisions").getReferenceValueArray();
if(comps.length>0) {
parentRev.remove("structure_revisions", comps[0]);
comps[0].lock();
comps[0].delete();;
e.printStackTrace();
throw e;
}finally {
win.unlock();