Mail Archives: geda-user/2012/11/12/20:53:18
Peter Clifton wrote:
> > > > >> I filed this as bug report https://bugs.launchpad.net/pcb/+bug/1076252
> > >
> > > Someone send a patch to remove saving this line in the output file,
> > > and I'll gladly commit it.
> >
> > Bert has attached a patch to the bug, along with a branch reference:
> >
> > git://git.geda-project.org/pcb.git LP1076252
>
> Sorry, I'd missed that..
Don't worry, it was minutes old when I sent my email.
> > But: Does PCB_FILE_VERSION actually have to change?
>
> No, it does not. (IMO)
I agree.
> The patch doesn't actually remove the cursor directive from the file
> format, it just stops it being saved out.
Ack.
> > And: What is the cursor initialized to when reading a file without Cursor?
>
> Untested, but I think zero.
Sounds good.
> HOWEVER..
>
> I note that the cursor directive restores the default zoom of a given
> PCB file. Removing this line will stop PCB saving the view's zoom state.
>
> Personally, I think this isn't an issue - especially since when I just
> tested now, it did not correctly restore any view settings.
Even if it would, I think it's OK to take one step backward (remove
zoom from files) in order to take two steps forward a little later!
I'm in favor of Bert's patch, sans the PCB_FILE_VERSION change. Would
you like me to fix it up and post somewhere? (Email, git: or http: ?)
//Peter
- Raw text -