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
093e311a
Commit
093e311a
authored
Mar 19, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a few ratsnest glitches in GAL.
parent
bf418eb1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
edit_tool.cpp
pcbnew/tools/edit_tool.cpp
+4
-5
No files found.
pcbnew/tools/edit_tool.cpp
View file @
093e311a
...
...
@@ -270,6 +270,8 @@ int EDIT_TOOL::Rotate( TOOL_EVENT& aEvent )
item
->
ViewUpdate
(
KIGFX
::
VIEW_ITEM
::
GEOMETRY
);
}
updateRatsnest
(
m_dragging
);
if
(
m_dragging
)
selection
.
group
->
ViewUpdate
(
KIGFX
::
VIEW_ITEM
::
GEOMETRY
);
else
...
...
@@ -279,8 +281,6 @@ int EDIT_TOOL::Rotate( TOOL_EVENT& aEvent )
m_toolMgr
->
RunAction
(
COMMON_ACTIONS
::
selectionClear
);
m_toolMgr
->
RunAction
(
COMMON_ACTIONS
::
pointEditorUpdate
);
updateRatsnest
(
true
);
setTransitions
();
return
0
;
...
...
@@ -316,6 +316,8 @@ int EDIT_TOOL::Flip( TOOL_EVENT& aEvent )
item
->
ViewUpdate
(
KIGFX
::
VIEW_ITEM
::
LAYERS
);
}
updateRatsnest
(
m_dragging
);
if
(
m_dragging
)
selection
.
group
->
ViewUpdate
(
KIGFX
::
VIEW_ITEM
::
GEOMETRY
);
else
...
...
@@ -325,8 +327,6 @@ int EDIT_TOOL::Flip( TOOL_EVENT& aEvent )
m_toolMgr
->
RunAction
(
COMMON_ACTIONS
::
selectionClear
);
m_toolMgr
->
RunAction
(
COMMON_ACTIONS
::
pointEditorUpdate
);
updateRatsnest
(
true
);
setTransitions
();
return
0
;
...
...
@@ -365,7 +365,6 @@ int EDIT_TOOL::Remove( TOOL_EVENT& aEvent )
if
(
!
(
board
->
m_Status_Pcb
&
NET_CODES_OK
)
)
board
->
BuildListOfNets
();
board
->
GetRatsnest
()
->
Recalculate
();
// TODO is it necessary?
setTransitions
();
return
0
;
...
...
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