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
87d2b44f
Commit
87d2b44f
authored
May 03, 2011
by
Andrey Fedorushkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pcbnew: change module - fix the position of the new module is the same as the old module
parent
79b6e427
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
xchgmod.cpp
pcbnew/xchgmod.cpp
+2
-2
No files found.
pcbnew/xchgmod.cpp
View file @
87d2b44f
...
...
@@ -473,13 +473,13 @@ void PCB_EDIT_FRAME::Exchange_Module( MODULE* aOldModule,
GetBoard
()
->
m_Status_Pcb
=
0
;
oldpos
=
GetScreen
()
->
GetCrossHairPosition
();
GetScreen
()
->
SetCrossHairPosition
(
aOldModule
->
m_Pos
);
GetScreen
()
->
SetCrossHairPosition
(
aOldModule
->
m_Pos
,
false
);
/* place module without ratsnest refresh: this will be made later
* when all modules are on board
*/
Place_Module
(
aNewModule
,
NULL
,
true
);
GetScreen
()
->
SetCrossHairPosition
(
oldpos
);
GetScreen
()
->
SetCrossHairPosition
(
oldpos
,
false
);
/* Flip footprint if needed */
if
(
aOldModule
->
GetLayer
()
!=
aNewModule
->
GetLayer
()
)
...
...
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