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
5d415c4c
Commit
5d415c4c
authored
Jun 19, 2012
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parsing problem was unbalanced (smoothing) element
parent
1f50b2c7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
kicad_plugin.cpp
pcbnew/kicad_plugin.cpp
+4
-2
No files found.
pcbnew/kicad_plugin.cpp
View file @
5d415c4c
...
@@ -1037,13 +1037,14 @@ void PCB_IO::format( ZONE_CONTAINER* aZone, int aNestLevel ) const
...
@@ -1037,13 +1037,14 @@ void PCB_IO::format( ZONE_CONTAINER* aZone, int aNestLevel ) const
if
(
aZone
->
GetFillMode
()
)
if
(
aZone
->
GetFillMode
()
)
m_out
->
Print
(
0
,
" (mode polygon)"
);
m_out
->
Print
(
0
,
" (mode polygon)"
);
m_out
->
Print
(
0
,
" (arc_segments %d) (thermal_gap %s) (thermal_bridge_width %s)
\n
"
,
m_out
->
Print
(
0
,
" (arc_segments %d) (thermal_gap %s) (thermal_bridge_width %s)"
,
aZone
->
GetArcSegCount
(),
aZone
->
GetArcSegCount
(),
FMT_IU
(
aZone
->
GetThermalReliefGap
()
).
c_str
(),
FMT_IU
(
aZone
->
GetThermalReliefGap
()
).
c_str
(),
FMT_IU
(
aZone
->
GetThermalReliefCopperBridge
()
).
c_str
()
);
FMT_IU
(
aZone
->
GetThermalReliefCopperBridge
()
).
c_str
()
);
if
(
aZone
->
GetCornerSmoothingType
()
!=
ZONE_SETTINGS
::
SMOOTHING_NONE
)
if
(
aZone
->
GetCornerSmoothingType
()
!=
ZONE_SETTINGS
::
SMOOTHING_NONE
)
{
{
m_out
->
Print
(
0
,
"
\n
"
);
m_out
->
Print
(
aNestLevel
+
1
,
"(smoothing"
);
m_out
->
Print
(
aNestLevel
+
1
,
"(smoothing"
);
switch
(
aZone
->
GetCornerSmoothingType
()
)
switch
(
aZone
->
GetCornerSmoothingType
()
)
...
@@ -1060,9 +1061,10 @@ void PCB_IO::format( ZONE_CONTAINER* aZone, int aNestLevel ) const
...
@@ -1060,9 +1061,10 @@ void PCB_IO::format( ZONE_CONTAINER* aZone, int aNestLevel ) const
THROW_IO_ERROR
(
wxString
::
Format
(
_
(
"unknown zone corner smoothing type %d"
),
THROW_IO_ERROR
(
wxString
::
Format
(
_
(
"unknown zone corner smoothing type %d"
),
aZone
->
GetCornerSmoothingType
()
)
);
aZone
->
GetCornerSmoothingType
()
)
);
}
}
m_out
->
Print
(
0
,
")"
);
if
(
aZone
->
GetCornerRadius
()
!=
0
)
if
(
aZone
->
GetCornerRadius
()
!=
0
)
m_out
->
Print
(
aNestLevel
+
1
,
" (radius %s))
\n
"
,
m_out
->
Print
(
0
,
" (radius %s)
"
,
FMT_IU
(
aZone
->
GetCornerRadius
()
).
c_str
()
);
FMT_IU
(
aZone
->
GetCornerRadius
()
).
c_str
()
);
}
}
...
...
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