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
c92e9e93
Commit
c92e9e93
authored
Aug 24, 2007
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor
parent
2e13ccf0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
class_board.cpp
pcbnew/class_board.cpp
+2
-1
files.cpp
pcbnew/files.cpp
+1
-1
No files found.
pcbnew/class_board.cpp
View file @
c92e9e93
...
@@ -495,7 +495,8 @@ EDA_BaseStruct* BOARD::FindPadOrModule( const wxPoint& refPos, int layer )
...
@@ -495,7 +495,8 @@ EDA_BaseStruct* BOARD::FindPadOrModule( const wxPoint& refPos, int layer )
// search only for PADs first, then MODULES, and preferably a layer match
// search only for PADs first, then MODULES, and preferably a layer match
static
const
KICAD_T
scanTypes
[]
=
{
TYPEPAD
,
TYPEMODULE
,
EOT
};
static
const
KICAD_T
scanTypes
[]
=
{
TYPEPAD
,
TYPEMODULE
,
EOT
};
IterateForward
(
m_Modules
,
&
inspector
,
&
refPos
,
scanTypes
);
// visit this BOARD with the above inspector
Visit
(
&
inspector
,
&
refPos
,
scanTypes
);
return
inspector
.
found
;
return
inspector
.
found
;
}
}
...
...
pcbnew/files.cpp
View file @
c92e9e93
...
@@ -235,7 +235,7 @@ int WinEDA_PcbFrame::LoadOnePcbFile( const wxString& FullFileName, wxDC* DC, boo
...
@@ -235,7 +235,7 @@ int WinEDA_PcbFrame::LoadOnePcbFile( const wxString& FullFileName, wxDC* DC, boo
g_SaveTime
=
time
(
NULL
);
g_SaveTime
=
time
(
NULL
);
#if
1
&& defined(DEBUG)
#if
0
&& defined(DEBUG)
// note this seems to freeze up pcbnew when run under the kicad project
// note this seems to freeze up pcbnew when run under the kicad project
// manager. runs fine from command prompt.
// manager. runs fine from command prompt.
// output the board object tree to stdout:
// output the board object tree to stdout:
...
...
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