n = __ses_find_eline_index(f, p->lid);
- eline_mov_before(f, __n, n);
+ if (!f->elines[n]->vflag) {
+ f->elines[n]->vflag = 1;
+ eline_mov_before(f, __n, n);
+ }
+#if 0
c = f->components[p->cid];
if (SCF_EDA_NPN == c->type && SCF_EDA_NPN_C == p->id) {
scf_loge("**************** c%ldp%ld, ic: %ld, ib: %ld, ie: %ld\n", p->cid, p->id, n, ib, ie);
}
+#endif
}
printf("\n");
}
n = __ses_find_eline_index(f, p->lid);
SCF_XCHG(f->elines[n], f->elines[j / 2 + 1]);
+ for (i = 0; i < f->n_elines; i++)
+ f->elines[i]->vflag = 0;
+
__ses_layout_path(f, base, base);
for (i = 0; i < paths->size; i++) {