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

gEDA-cvs: branch: master updated (1.4.0-20080127-75-g3db7890)



The branch, master has been updated
       via  3db78903fb7bd41a0f2d8b4022c2afa18055a54a (commit)
      from  2337e0a71a5c5f2181801441e4435d0cb44c5ba0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 libgeda/src/o_complex_basic.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


=================
 Commit Messages
=================

commit 3db78903fb7bd41a0f2d8b4022c2afa18055a54a
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sat May 10 01:49:22 2008 +0100

    Calculate bounds of new object when copying an embedded complex.
    
    Adds call to o_complex_recalc() in o_complex_copy_embedded().

:100644 100644 b9769b6... ccc64ab... M	libgeda/src/o_complex_basic.c

=========
 Changes
=========

commit 3db78903fb7bd41a0f2d8b4022c2afa18055a54a
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sat May 10 01:49:22 2008 +0100

    Calculate bounds of new object when copying an embedded complex.
    
    Adds call to o_complex_recalc() in o_complex_copy_embedded().

diff --git a/libgeda/src/o_complex_basic.c b/libgeda/src/o_complex_basic.c
index b9769b6..ccc64ab 100644
--- a/libgeda/src/o_complex_basic.c
+++ b/libgeda/src/o_complex_basic.c
@@ -919,6 +919,8 @@ OBJECT *o_complex_copy_embedded(TOPLEVEL *toplevel, OBJECT *list_tail,
 	
   new_obj->complex->prim_objs = return_head(temp_list);
 
+  o_complex_recalc(toplevel, new_obj);
+
   /* here you need to create a list of attributes which need to be 
    * connected to the new list, probably make an attribute list and
    * fill it with sid's of the attributes */




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