Fix bug introduced with refactoring of object mirroring API to libgeda.
commit0312f7d113e616b0bb55880aa9d23a5197e821a5
authorPeter Clifton <pcjc2@cam.ac.uk>
Wed, 28 Nov 2007 17:24:27 +0000 (28 17:24 +0000)
committerPeter Clifton <pcjc2@cam.ac.uk>
Wed, 28 Nov 2007 17:24:27 +0000 (28 17:24 +0000)
tree5db1f2d8864e50aadd25b4e8d271db797a1afe5c
parentad5dcb91b8299dfbcda2e7507d4a42a6b6c0e9b0
Fix bug introduced with refactoring of object mirroring API to libgeda.

When reading a complex object from file, the mirror property of the
complex is set to the desired value and later code then mirrors the
prim_objs which make up the complex. o_complex_mirror_world() was used
by mistake, where o_list_mirror_world() should have been used.

This could be refactored so that complex creation uses higher level
o_complex_{rotate,mirror}_world(), rather than setting the variables
holding rotation / mirroring state, then manipulating the prim_objs.
libgeda/src/o_complex_basic.c