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
b8fd1de7
Commit
b8fd1de7
authored
Jul 09, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added module texts to the preferred types list in SELECTION_TOOL.
parent
433e17a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
selection_tool.cpp
pcbnew/tools/selection_tool.cpp
+3
-1
No files found.
pcbnew/tools/selection_tool.cpp
View file @
b8fd1de7
...
...
@@ -239,7 +239,9 @@ bool SELECTION_TOOL::selectSingle( const VECTOR2I& aWhere, bool aAllowDisambigua
BOARD_ITEM
*
item
;
GENERAL_COLLECTORS_GUIDE
guide
=
m_frame
->
GetCollectorsGuide
();
GENERAL_COLLECTOR
collector
;
const
KICAD_T
types
[]
=
{
PCB_TRACE_T
,
PCB_VIA_T
,
PCB_LINE_T
,
EOT
};
// preferred types
// Preferred types (they have the priority when if they are covered by a bigger item)
const
KICAD_T
types
[]
=
{
PCB_TRACE_T
,
PCB_VIA_T
,
PCB_LINE_T
,
PCB_MODULE_TEXT_T
,
EOT
};
if
(
m_editModules
)
collector
.
Collect
(
getModel
<
BOARD
>
(),
GENERAL_COLLECTOR
::
ModuleItems
,
...
...
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