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
6dc85d1c
Commit
6dc85d1c
authored
Mar 16, 2012
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eeschema: fix bug Bug #956818
parent
63754978
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
bus-wire-junction.cpp
eeschema/bus-wire-junction.cpp
+14
-0
pcbcommon.h
include/pcbcommon.h
+0
-4
No files found.
eeschema/bus-wire-junction.cpp
View file @
6dc85d1c
...
...
@@ -107,7 +107,21 @@ void SCH_EDIT_FRAME::BeginSegment( wxDC* DC, int type )
SCH_LINE
*
nextSegment
;
wxPoint
cursorpos
=
GetScreen
()
->
GetCrossHairPosition
();
// We should know id a segment is currently in progress
segment
=
(
SCH_LINE
*
)
GetScreen
()
->
GetCurItem
();
if
(
segment
)
// a current item exists, but not necessary a currently edited item
{
if
(
!
segment
->
GetFlags
()
||
(
segment
->
Type
()
!=
SCH_LINE_T
)
)
{
if
(
segment
->
GetFlags
()
)
{
wxLogDebug
(
wxT
(
"BeginSegment: item->GetFlags()== %X"
),
segment
->
GetFlags
()
);
}
// no wire, bus or graphic line in progress
segment
=
NULL
;
}
}
if
(
!
segment
)
/* first point : Create first wire or bus */
{
...
...
include/pcbcommon.h
View file @
6dc85d1c
...
...
@@ -9,14 +9,10 @@
#include <dlist.h>
#include <layers_id_colors_and_visibility.h> // LAYER_COUNT and NB_COPPER_LAYERS definitions.
//#include <wx/string.h> // wxString class.
//#include <wx/arrstr.h> // wxArrayString class.
#define MIN_DRAW_WIDTH 1 ///< Minimum trace drawing width.
//class PCB_SCREEN;
class
D_PAD
;
class
TRACK
;
class
BOARD
;
...
...
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