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
a27dcae6
Commit
a27dcae6
authored
Feb 17, 2009
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
layer count changing fix
parent
4e348a58
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
CHANGELOG.txt
CHANGELOG.txt
+11
-1
initpcb.cpp
pcbnew/initpcb.cpp
+4
-0
No files found.
CHANGELOG.txt
View file @
a27dcae6
...
@@ -5,6 +5,16 @@ Started 2007-June-11
...
@@ -5,6 +5,16 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with
Please add newer entries at the top, list the date and your name with
email address.
email address.
2009-Feb-17 UPDATE Dick Hollenbeck <dick@softplc.com>
================================================================================
++pcbnew
Loading a module into the module editor was changing the layer count
of a loaded board. This is because void WinEDA_ModuleEditFrame::Process_Special_Functions( wxCommandEvent& event )
called Clear_PCB() which then set the global
g_DesignSettings.m_CopperLayerCount = 2;
We need a layer count in each board, not as a global. For now, comment out the assignment in initpcb.cpp.
2009-Feb-17 Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
2009-Feb-17 Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
================================================================================
++pcbnew:
++pcbnew:
...
@@ -16,7 +26,7 @@ email address.
...
@@ -16,7 +26,7 @@ email address.
2009-Feb-09 UPDATE Dick Hollenbeck <dick@softplc.com>
2009-Feb-09 UPDATE Dick Hollenbeck <dick@softplc.com>
================================================================================
================================================================================
++eeschema
++eeschema
Changed dialog_edit_label so that i
s
is UIpolicies.txt compliant. Proper case
Changed dialog_edit_label so that i
t
is UIpolicies.txt compliant. Proper case
on window titles, resizeable dialog border, minimum text width handling.
on window titles, resizeable dialog border, minimum text width handling.
...
...
pcbnew/initpcb.cpp
View file @
a27dcae6
...
@@ -162,7 +162,11 @@ bool WinEDA_BasePcbFrame::Clear_Pcb( bool query )
...
@@ -162,7 +162,11 @@ bool WinEDA_BasePcbFrame::Clear_Pcb( bool query )
g_DesignSettings
.
m_TrackWidthHistory
[
0
]
=
g_DesignSettings
.
m_CurrentTrackWidth
;
g_DesignSettings
.
m_TrackWidthHistory
[
0
]
=
g_DesignSettings
.
m_CurrentTrackWidth
;
g_DesignSettings
.
m_ViaSizeHistory
[
0
]
=
g_DesignSettings
.
m_CurrentViaSize
;
g_DesignSettings
.
m_ViaSizeHistory
[
0
]
=
g_DesignSettings
.
m_CurrentViaSize
;
/* NO, this is a global setting, and changing it here changes a loaded board's layer count when loading a module in the module editor since
the module editor calls this when loading an existing module.
g_DesignSettings.m_CopperLayerCount = 2; // Default copper layers count set to 2: double layer board
g_DesignSettings.m_CopperLayerCount = 2; // Default copper layers count set to 2: double layer board
*/
Zoom_Automatique
(
TRUE
);
Zoom_Automatique
(
TRUE
);
...
...
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