zouxk 5 years ago
commit be41f6e1b8

@ -748,8 +748,23 @@ public class TransformDesignToPartDialog extends AbstractAIFDialog implements Ac
}
win.save();
win.unlock();
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();
}
}

Loading…
Cancel
Save