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
a4ffa8fa
Commit
a4ffa8fa
authored
Mar 04, 2008
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no XORing on delete segment
parent
58b5543b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
deltrack.cpp
pcbnew/deltrack.cpp
+10
-6
specctra_export.cpp
pcbnew/specctra_export.cpp
+1
-0
No files found.
pcbnew/deltrack.cpp
View file @
a4ffa8fa
...
@@ -34,9 +34,7 @@ TRACK* WinEDA_PcbFrame::Delete_Segment( wxDC* DC, TRACK* Track )
...
@@ -34,9 +34,7 @@ TRACK* WinEDA_PcbFrame::Delete_Segment( wxDC* DC, TRACK* Track )
if
(
Track
->
GetState
(
DELETED
)
)
if
(
Track
->
GetState
(
DELETED
)
)
{
{
#if defined(DEBUG)
D
(
printf
(
"WinEDA_PcbFrame::Delete_Segment(): bug deleted already deleted TRACK
\n
"
);)
printf
(
"WinEDA_PcbFrame::Delete_Segment(): bug deleted already deleted TRACK
\n
"
);
#endif
return
NULL
;
return
NULL
;
}
}
...
@@ -120,7 +118,13 @@ TRACK* WinEDA_PcbFrame::Delete_Segment( wxDC* DC, TRACK* Track )
...
@@ -120,7 +118,13 @@ TRACK* WinEDA_PcbFrame::Delete_Segment( wxDC* DC, TRACK* Track )
current_net_code
=
Track
->
GetNet
();
current_net_code
=
Track
->
GetNet
();
#if 0 && !defined(DEBUG)
Track->Draw( DrawPanel, DC, GR_XOR );
Track->Draw( DrawPanel, DC, GR_XOR );
#else
// just redraw the whole drawing so there are no XOR remnants at track intersections.
DrawPanel
->
Refresh
(
TRUE
);
#endif
SaveItemEfface
(
Track
,
1
);
SaveItemEfface
(
Track
,
1
);
GetScreen
()
->
SetModify
();
GetScreen
()
->
SetModify
();
...
...
pcbnew/specctra_export.cpp
View file @
a4ffa8fa
...
@@ -833,6 +833,7 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IOError )
...
@@ -833,6 +833,7 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IOError )
case
LT_SIGNAL
:
layerType
=
T_signal
;
break
;
case
LT_SIGNAL
:
layerType
=
T_signal
;
break
;
case
LT_POWER
:
layerType
=
T_power
;
break
;
case
LT_POWER
:
layerType
=
T_power
;
break
;
case
LT_MIXED
:
layerType
=
T_mixed
;
break
;
case
LT_MIXED
:
layerType
=
T_mixed
;
break
;
case
LT_JUMPER
:
layerType
=
T_jumper
;
break
;
}
}
layer
->
layer_type
=
layerType
;
layer
->
layer_type
=
layerType
;
...
...
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