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
cbb28977
Commit
cbb28977
authored
Nov 24, 2012
by
Marco Mattila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix saving of local thermal parameters in pcbnew legacy_plugin.
parent
932c5e99
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
legacy_plugin.cpp
pcbnew/legacy_plugin.cpp
+4
-4
No files found.
pcbnew/legacy_plugin.cpp
View file @
cbb28977
...
@@ -3367,10 +3367,10 @@ void LEGACY_PLUGIN::savePAD( const D_PAD* me ) const
...
@@ -3367,10 +3367,10 @@ void LEGACY_PLUGIN::savePAD( const D_PAD* me ) const
fprintf
(
m_fp
,
".ZoneConnection %d
\n
"
,
me
->
GetZoneConnection
()
);
fprintf
(
m_fp
,
".ZoneConnection %d
\n
"
,
me
->
GetZoneConnection
()
);
if
(
me
->
GetThermalWidth
()
!=
0
)
if
(
me
->
GetThermalWidth
()
!=
0
)
fprintf
(
m_fp
,
".ThermalWidth %
d
\n
"
,
me
->
GetThermalWidth
()
);
fprintf
(
m_fp
,
".ThermalWidth %
s
\n
"
,
fmtBIU
(
me
->
GetThermalWidth
()
).
c_str
()
);
if
(
me
->
GetThermalGap
()
!=
0
)
if
(
me
->
GetThermalGap
()
!=
0
)
fprintf
(
m_fp
,
".ThermalGap %
d
\n
"
,
me
->
GetThermalGap
()
);
fprintf
(
m_fp
,
".ThermalGap %
s
\n
"
,
fmtBIU
(
me
->
GetThermalGap
()
).
c_str
()
);
fprintf
(
m_fp
,
"$EndPAD
\n
"
);
fprintf
(
m_fp
,
"$EndPAD
\n
"
);
...
@@ -3430,10 +3430,10 @@ void LEGACY_PLUGIN::SaveMODULE( const MODULE* me ) const
...
@@ -3430,10 +3430,10 @@ void LEGACY_PLUGIN::SaveMODULE( const MODULE* me ) const
fprintf
(
m_fp
,
".ZoneConnection %d
\n
"
,
me
->
GetZoneConnection
()
);
fprintf
(
m_fp
,
".ZoneConnection %d
\n
"
,
me
->
GetZoneConnection
()
);
if
(
me
->
GetThermalWidth
()
!=
0
)
if
(
me
->
GetThermalWidth
()
!=
0
)
fprintf
(
m_fp
,
".ThermalWidth %
d
\n
"
,
me
->
GetThermalWidth
()
);
fprintf
(
m_fp
,
".ThermalWidth %
s
\n
"
,
fmtBIU
(
me
->
GetThermalWidth
()
).
c_str
()
);
if
(
me
->
GetThermalGap
()
!=
0
)
if
(
me
->
GetThermalGap
()
!=
0
)
fprintf
(
m_fp
,
".ThermalGap %
d
\n
"
,
me
->
GetThermalGap
()
);
fprintf
(
m_fp
,
".ThermalGap %
s
\n
"
,
fmtBIU
(
me
->
GetThermalGap
()
).
c_str
()
);
// attributes
// attributes
if
(
me
->
GetAttributes
()
!=
MOD_DEFAULT
)
if
(
me
->
GetAttributes
()
!=
MOD_DEFAULT
)
...
...
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