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
cea3f06a
Commit
cea3f06a
authored
Nov 29, 2007
by
CHARRAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pcbnew: remove bug in block delete zone (crashes pcbnew)
parent
62e68c3a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
7 deletions
+12
-7
change_log.txt
change_log.txt
+5
-0
how-to-build-kicad.txt
how-to-build-kicad.txt
+1
-1
build_version.h
include/build_version.h
+1
-1
block.cpp
pcbnew/block.cpp
+5
-5
No files found.
change_log.txt
View file @
cea3f06a
...
...
@@ -4,6 +4,11 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with
email address.
2007-Nov-29 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+pcbnew:
Removed a bug (function block() ) which crashes pcbnew when erasing a zone by block delete
2007-Nov-27 UPDATE Dick Hollenbeck <dick@softplc.com>
================================================================================
...
...
how-to-build-kicad.txt
View file @
cea3f06a
...
...
@@ -36,7 +36,7 @@ in kicad-dev:
lines to edit:
STD_INSTALL = 1
which can be (see comments in libs.linux)
STD_INSTALL =
1
STD_INSTALL =
0 (or 2)
after libs.linux edition:
run make -f makefile.gtk
...
...
include/build_version.h
View file @
cea3f06a
...
...
@@ -5,7 +5,7 @@
COMMON_GLOBL
wxString
g_BuildVersion
#ifdef EDA_BASE
(
wxT
(
"(2007-11-
1
9)"
))
(
wxT
(
"(2007-11-
2
9)"
))
#endif
;
...
...
pcbnew/block.cpp
View file @
cea3f06a
...
...
@@ -565,17 +565,17 @@ void WinEDA_BasePcbFrame::Block_Delete( wxDC* DC )
/* Effacement des Zones */
if
(
Block_Include_Zones
)
{
TRACK
*
pt_segm
;
SEGZONE
*
pt_segm
,
*
NextSegZ
;
Affiche_Message
(
_
(
"Delete zones"
)
);
for
(
pt_segm
=
m_Pcb
->
m_Zone
;
pt_segm
!=
NULL
;
pt_segm
=
(
TRACK
*
)
NextS
)
for
(
pt_segm
=
m_Pcb
->
m_Zone
;
pt_segm
!=
NULL
;
pt_segm
=
NextSegZ
)
{
NextS
=
pt_segm
->
Next
();
NextS
egZ
=
pt_segm
->
Next
();
if
(
IsSegmentInBox
(
GetScreen
()
->
BlockLocate
,
pt_segm
)
)
{
/*
la piste est ici bonne a etre efface
*/
/*
The segment zone is in the block: delete it
*/
pt_segm
->
Draw
(
DrawPanel
,
DC
,
GR_XOR
);
PtStruct
->
DeleteStructure
();
pt_segm
->
DeleteStructure
();
}
}
}
...
...
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