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
778011a8
Commit
778011a8
authored
Jul 09, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ratsnest is recalculated after global deletion of tracks and after importing a netlist.
parent
7614b93b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
dialog_global_deletion.cpp
pcbnew/dialogs/dialog_global_deletion.cpp
+3
-0
ratsnest_data.cpp
pcbnew/ratsnest_data.cpp
+2
-0
No files found.
pcbnew/dialogs/dialog_global_deletion.cpp
View file @
778011a8
...
@@ -254,6 +254,9 @@ void DIALOG_GLOBAL_DELETION::AcceptPcbDelete( )
...
@@ -254,6 +254,9 @@ void DIALOG_GLOBAL_DELETION::AcceptPcbDelete( )
if
(
gen_rastnest
)
if
(
gen_rastnest
)
m_Parent
->
Compile_Ratsnest
(
NULL
,
true
);
m_Parent
->
Compile_Ratsnest
(
NULL
,
true
);
if
(
m_Parent
->
IsGalCanvasActive
()
)
pcb
->
GetRatsnest
()
->
Recalculate
();
}
}
m_Parent
->
GetCanvas
()
->
Refresh
();
m_Parent
->
GetCanvas
()
->
Refresh
();
...
...
pcbnew/ratsnest_data.cpp
View file @
778011a8
...
@@ -1009,6 +1009,8 @@ void RN_DATA::ProcessBoard()
...
@@ -1009,6 +1009,8 @@ void RN_DATA::ProcessBoard()
if
(
netCode
>
0
)
if
(
netCode
>
0
)
m_nets
[
netCode
].
AddItem
(
zone
);
m_nets
[
netCode
].
AddItem
(
zone
);
}
}
Recalculate
();
}
}
...
...
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