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
6bd572f5
Commit
6bd572f5
authored
Aug 29, 2008
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix case where first edge segment is an arc
parent
9536bdce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
63 deletions
+64
-63
specctra_export.cpp
pcbnew/specctra_export.cpp
+64
-63
No files found.
pcbnew/specctra_export.cpp
View file @
6bd572f5
...
...
@@ -748,14 +748,11 @@ void SPECCTRA_DB::fillBOUNDARY( BOARD* aBoard, BOUNDARY* boundary ) throw( IOErr
items
.
Remove
(
0
);
prevPt
=
graphic
->
GetEnd
();
path
->
AppendPoint
(
mapPt
(
graphic
->
GetStart
()
)
);
path
->
AppendPoint
(
mapPt
(
graphic
->
GetEnd
()
)
);
while
(
items
.
GetCount
()
)
{
graphic
=
findPoint
(
prevPt
,
&
items
);
if
(
graphic
)
// do not append the other end point yet, this first edge item might be an arc
for
(;;)
{
switch
(
graphic
->
m_Shape
)
{
...
...
@@ -831,8 +828,12 @@ void SPECCTRA_DB::fillBOUNDARY( BOARD* aBoard, BOUNDARY* boundary ) throw( IOErr
path
->
AppendPoint
(
nextPt
);
}
}
}
else
if
(
items
.
GetCount
()
==
0
)
break
;
graphic
=
findPoint
(
prevPt
,
&
items
);
if
(
!
graphic
)
{
wxString
error
;
...
...
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