[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: o_misc.c



  User: pcjc2   
  Date: 07/03/23 20:54:20

  Modified:    .        Tag: noscreen o_misc.c
  Log:
  Add call to o_complex_recalc() in o_update_component()
  
  to ensure bounds are correct after an embeded component is updated.
  
  
  
  
  
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.36.2.5  +4 -0      eda/geda/gaf/gschem/src/o_misc.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: o_misc.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_misc.c,v
  retrieving revision 1.36.2.4
  retrieving revision 1.36.2.5
  diff -u -b -r1.36.2.4 -r1.36.2.5
  --- o_misc.c	11 Feb 2007 23:58:56 -0000	1.36.2.4
  +++ o_misc.c	24 Mar 2007 00:54:20 -0000	1.36.2.5
  @@ -1160,6 +1160,10 @@
       
     /* finally delete the temp list with the updated complex */
     s_delete_list_fromstart (w_current, tmp_list);
  +
  +  /* Recalculate the bounds of the object */
  +  o_complex_recalc(w_current, o_current);
  +
     /* reconnect, re-select and redraw */
     s_conn_update_complex (w_current, o_current->complex->prim_objs);
     o_selection_add (&(w_current->page_current->selection_list),
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs