drop zero-size elements when opening a file
This commit is contained in:
parent
c3ad08fdd4
commit
e0eb450881
|
|
@ -1133,6 +1133,7 @@ void load_schematic(int load_symbols, const char *filename, int reset_undo) /* 2
|
|||
my_strncpy(xctx->current_name, name, S(xctx->current_name));
|
||||
if(reset_undo) set_modify(0);
|
||||
}
|
||||
check_collapsing_objects();
|
||||
if(tclgetboolvar("autotrim_wires")) trim_wires();
|
||||
update_conn_cues(0, 0);
|
||||
if(xctx->hilight_nets && load_symbols) {
|
||||
|
|
|
|||
|
|
@ -1223,6 +1223,7 @@ extern void new_arc(int what, double sweep);
|
|||
extern void arc_3_points(double x1, double y1, double x2, double y2, double x3, double y3,
|
||||
double *x, double *y, double *r, double *a, double *b);
|
||||
extern void move_objects(int what,int merge, double dx, double dy);
|
||||
extern void check_collapsing_objects();
|
||||
extern void redraw_w_a_l_r_p_rubbers(void); /* redraw wire, arcs, line, polygon rubbers */
|
||||
extern void copy_objects(int what);
|
||||
extern void find_inst_to_be_redrawn(int what);
|
||||
|
|
|
|||
Loading…
Reference in New Issue