Hi Peter, 

On Freitag, 9. November 2007, Peter Clifton wrote:
> On Fri, 2007-11-09 at 20:02 +0100, Werner Hoch wrote:
> > I think the copy should just create a copy of the current component
> > and not ask the database.
>
> Is this seen when placing multiple copies from the component chooser,
> or "edit-copy"?

The edit-copy command.

> In the edit-copy case, it should be making a direct copy. 

The edit-copy command calls the get command once when placing the copy.

> I'm not 
> sure about the component chooser.. its probably going to the database
> each time, even for multiple place. This is code I've got patches for
> anyway (component placing), but its not currently in my head enough
> to answer off bat. Peter B... confer with me if you're going to fix
> it, It might have already been done in my (yet unmerged) refactor of
> component placing.

I've added a log to my script and it is called by the following actions:

When opening the component chooser the list command is called once.

When selecting a component in the chooser the get command is call once 
(preview widget).

When moving the component to the geschem drawing area the get command is 
called once.

When placing the component the get command is called twice.


Regards
Werner



_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to