Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
7125da8a
Commit
7125da8a
authored
Sep 23, 2013
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set FPID on GITHUB_PLUGIN::FootprintLoad()
parent
ecca7434
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
github_plugin.cpp
pcbnew/github/github_plugin.cpp
+6
-0
io_mgr.cpp
pcbnew/io_mgr.cpp
+1
-1
No files found.
pcbnew/github/github_plugin.cpp
View file @
7125da8a
...
...
@@ -52,6 +52,7 @@
#include <pcb_parser.h>
#include <class_board.h>
#include <github_plugin.h>
#include <class_module.h>
using
namespace
std
;
...
...
@@ -138,6 +139,11 @@ MODULE* GITHUB_PLUGIN::FootprintLoad( const wxString& aLibraryPath,
MODULE
*
ret
=
(
MODULE
*
)
parser
.
Parse
();
// Dude, the footprint name comes from the file name in
// a github library. Zero out the library name, we don't know it here.
// Caller always has to set the library nickname if it knows it.
ret
->
SetFPID
(
fp_name
);
return
ret
;
}
}
...
...
pcbnew/io_mgr.cpp
View file @
7125da8a
...
...
@@ -200,7 +200,7 @@ IO_MGR::PCB_FILE_T IO_MGR::GuessPluginTypeFromLibPath( const wxString& aLibPath
ret
=
EAGLE
;
}
// Test this one anyways, even though
t it
s the default guess, to avoid
// Test this one anyways, even though
it'
s the default guess, to avoid
// the wxURI instantiation below.
// We default ret to KICAD above, because somebody might have
// mistakenly put a pretty library into a directory other than
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment