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
8a5fedb7
Commit
8a5fedb7
authored
Jul 09, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code formatting and cleaning.
parent
7645ed86
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
+19
-19
view.cpp
common/view/view.cpp
+19
-18
pcb_tools.cpp
pcbnew/tools/pcb_tools.cpp
+0
-1
No files found.
common/view/view.cpp
View file @
8a5fedb7
...
...
@@ -1019,7 +1019,9 @@ void VIEW::UpdateItems()
m_needsUpdate
.
clear
();
}
struct
VIEW
::
extentsVisitor
{
struct
VIEW
::
extentsVisitor
{
BOX2I
extents
;
bool
first
;
...
...
@@ -1036,16 +1038,15 @@ struct VIEW::extentsVisitor {
extents
.
Merge
(
aItem
->
ViewBBox
()
);
return
false
;
}
};
};
const
BOX2I
VIEW
::
CalculateExtents
()
{
extentsVisitor
v
;
BOX2I
fullScene
;
fullScene
.
SetMaximum
();
BOOST_FOREACH
(
VIEW_LAYER
*
l
,
m_orderedLayers
)
{
l
->
items
->
Query
(
fullScene
,
v
);
...
...
pcbnew/tools/pcb_tools.cpp
View file @
8a5fedb7
...
...
@@ -29,7 +29,6 @@
#include <tool/tool_dispatcher.h>
#include <class_draw_panel_gal.h>
//#include <pcbnew_id.h>
#include "selection_tool.h"
#include "edit_tool.h"
...
...
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