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
fbe30472
Commit
fbe30472
authored
Dec 18, 2007
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
when drc denies via insertion, bridge track not deleted
parent
10ece80b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
9 deletions
+25
-9
change_log.txt
change_log.txt
+11
-3
hotkeys_basic.cpp
common/hotkeys_basic.cpp
+0
-1
deltrack.cpp
gerbview/deltrack.cpp
+5
-1
editrack-part2.cpp
pcbnew/editrack-part2.cpp
+8
-3
drawpanel.cpp
share/drawpanel.cpp
+1
-1
No files found.
change_log.txt
View file @
fbe30472
...
@@ -4,19 +4,27 @@ Started 2007-June-11
...
@@ -4,19 +4,27 @@ 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.
2007-Dec-17 UPDATE Dick Hollenbeck <dick@softplc.com>
================================================================================
+pcbnew
WinEDA_PcbFrame::Other_Layer_Route() was leaving in the bridging segment
when the DRC denied the via insertion.
2007-Dec-17 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
2007-Dec-17 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
================================================================================
+pcbnew:
+pcbnew:
some changes about zones: enhanced dialog, and files reorganisation.
some changes about zones: enhanced dialog, and files reorganisation
2007-Dec-14 UPDATE Dick Hollenbeck <dick@softplc.com>
2007-Dec-14 UPDATE Dick Hollenbeck <dick@softplc.com>
================================================================================
================================================================================
+pcbnew
+pcbnew
WinEDA_PcbFrame::Other_Layer_Route() now returns bool, so that if the DRC
WinEDA_PcbFrame::Other_Layer_Route() now returns bool, so that if the DRC
would not allow the new via placement, then it can be checked and the layer
would not allow the new via placement, then it can be checked and the layer
change can also then be aborted. Previously the layer change would happen
change can also then be aborted. Previously the layer change would happen
in mid track if the via could not be placed.
in mid track
even
if the via could not be placed.
2007-Dec-13 UPDATE Dick Hollenbeck <dick@softplc.com>
2007-Dec-13 UPDATE Dick Hollenbeck <dick@softplc.com>
...
...
common/hotkeys_basic.cpp
View file @
fbe30472
...
@@ -53,7 +53,6 @@ static struct hotkey_name_descr s_Hotkey_Name_List[] =
...
@@ -53,7 +53,6 @@ static struct hotkey_name_descr s_Hotkey_Name_List[] =
{
wxT
(
"Esc"
),
WXK_ESCAPE
},
{
wxT
(
"Esc"
),
WXK_ESCAPE
},
{
wxT
(
"Delete"
),
WXK_DELETE
},
{
wxT
(
"Delete"
),
WXK_DELETE
},
{
wxT
(
"Esc"
),
WXK_ESCAPE
},
{
wxT
(
"Tab"
),
'\t'
},
{
wxT
(
"Tab"
),
'\t'
},
{
wxT
(
"Backspace"
),
WXK_BACK
},
{
wxT
(
"Backspace"
),
WXK_BACK
},
{
wxT
(
"Insert"
),
WXK_INSERT
},
{
wxT
(
"Insert"
),
WXK_INSERT
},
...
...
gerbview/deltrack.cpp
View file @
fbe30472
...
@@ -60,7 +60,10 @@ TRACK* WinEDA_GerberFrame::Delete_Segment( wxDC* DC, TRACK* Track )
...
@@ -60,7 +60,10 @@ TRACK* WinEDA_GerberFrame::Delete_Segment( wxDC* DC, TRACK* Track )
// modification du trace
// modification du trace
Track
=
g_CurrentTrackSegment
;
Track
=
g_CurrentTrackSegment
;
g_CurrentTrackSegment
=
(
TRACK
*
)
g_CurrentTrackSegment
->
Pback
;
g_CurrentTrackSegment
=
(
TRACK
*
)
g_CurrentTrackSegment
->
Pback
;
delete
Track
;
g_TrackSegmentCount
--
;
delete
Track
;
g_TrackSegmentCount
--
;
if
(
g_TrackSegmentCount
&&
(
g_CurrentTrackSegment
->
Type
()
==
TYPEVIA
)
)
if
(
g_TrackSegmentCount
&&
(
g_CurrentTrackSegment
->
Type
()
==
TYPEVIA
)
)
{
{
...
@@ -87,6 +90,7 @@ TRACK* WinEDA_GerberFrame::Delete_Segment( wxDC* DC, TRACK* Track )
...
@@ -87,6 +90,7 @@ TRACK* WinEDA_GerberFrame::Delete_Segment( wxDC* DC, TRACK* Track )
return
g_CurrentTrackSegment
;
return
g_CurrentTrackSegment
;
}
}
}
}
return
NULL
;
return
NULL
;
}
// Fin traitement si trace en cours
}
// Fin traitement si trace en cours
...
...
pcbnew/editrack-part2.cpp
View file @
fbe30472
...
@@ -245,16 +245,21 @@ bool WinEDA_PcbFrame::Other_Layer_Route( TRACK* track, wxDC* DC )
...
@@ -245,16 +245,21 @@ bool WinEDA_PcbFrame::Other_Layer_Route( TRACK* track, wxDC* DC )
{
{
/* DRC fault: the Via cannot be placed here ... */
/* DRC fault: the Via cannot be placed here ... */
delete
Via
;
delete
Via
;
GetScreen
()
->
m_Active_Layer
=
old_layer
;
DrawPanel
->
ManageCurseur
(
DrawPanel
,
DC
,
FALSE
)
;
GetScreen
()
->
m_Active_Layer
=
old_layer
;
DrawPanel
->
ManageCurseur
(
DrawPanel
,
DC
,
FALSE
);
// delete the track(s) added in Begin_Route()
// delete the track(s) added in Begin_Route()
while
(
g_TrackSegmentCount
>
itmp
)
while
(
g_TrackSegmentCount
>
itmp
)
{
{
Delete_Segment
(
DC
,
g_CurrentTrackSegment
);
Delete_Segment
(
DC
,
g_CurrentTrackSegment
);
}
}
SetCurItem
(
g_CurrentTrackSegment
);
// use the form of SetCurItem() which does not write to the msg panel,
// SCREEN::SetCurItem(), so the DRC error remains on screen.
// WinEDA_PcbFrame::SetCurItem() calls Display_Infos().
GetScreen
()
->
SetCurItem
(
g_CurrentTrackSegment
);
return
false
;
return
false
;
}
}
...
...
share/drawpanel.cpp
View file @
fbe30472
...
@@ -1105,7 +1105,7 @@ void WinEDA_DrawPanel::OnKeyEvent( wxKeyEvent& event )
...
@@ -1105,7 +1105,7 @@ void WinEDA_DrawPanel::OnKeyEvent( wxKeyEvent& event )
/* Compute absolute m_MousePosition in user units: */
/* Compute absolute m_MousePosition in user units: */
Screen
->
m_MousePosition
=
CursorRealPosition
(
Screen
->
m_MousePositionInPixels
);
Screen
->
m_MousePosition
=
CursorRealPosition
(
Screen
->
m_MousePositionInPixels
);
#else
#else
/* if wxGetMousePosition() does not exist,
/* if wxGetMousePosition() does not exist,
* m_Cursor should be ok, use it to calculate the cursor position on screen
* m_Cursor should be ok, use it to calculate the cursor position on screen
...
...
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