fix segfault in delete() where del_rect_line_arc_poly() (which calculates text object bboxes) was called after text items deleted
This commit is contained in:
parent
01806eaa10
commit
670841f361
|
|
@ -398,6 +398,8 @@ void delete(int to_push_undo)
|
|||
/* 32: call prepare_netlist_structs(0) if show net names enabled
|
||||
* 4: call symbol_bbox() to precisely update bbox to current zoom level
|
||||
*/
|
||||
del_rect_line_arc_poly(floaters);
|
||||
|
||||
for(i=0;i<xctx->texts; ++i)
|
||||
{
|
||||
if(xctx->text[i].sel == SELECTED)
|
||||
|
|
@ -471,7 +473,6 @@ void delete(int to_push_undo)
|
|||
update_conn_cues(WIRELAYER, 0, 0);
|
||||
}
|
||||
|
||||
del_rect_line_arc_poly(floaters);
|
||||
|
||||
if(xctx->hilight_nets) {
|
||||
propagate_hilights(1, 1, XINSERT_NOREPLACE);
|
||||
|
|
|
|||
Loading…
Reference in New Issue