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
7e277978
Commit
7e277978
authored
May 06, 2013
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eeschema: fix incorrect move command for bitmap items.
parent
af5a9a8d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
convert_basic_shapes_to_polygon.cpp
common/convert_basic_shapes_to_polygon.cpp
+1
-3
edit_bitmap.cpp
eeschema/edit_bitmap.cpp
+1
-1
No files found.
common/convert_basic_shapes_to_polygon.cpp
View file @
7e277978
...
@@ -58,9 +58,7 @@ void CopyPolygonsFromKiPolygonListToPolysList( KI_POLYGON_SET& aKiPolyList,
...
@@ -58,9 +58,7 @@ void CopyPolygonsFromKiPolygonListToPolysList( KI_POLYGON_SET& aKiPolyList,
aPolysList
.
push_back
(
corner
);
aPolysList
.
push_back
(
corner
);
}
}
corner
.
end_contour
=
true
;
aPolysList
.
back
().
end_contour
=
true
;
aPolysList
.
pop_back
();
aPolysList
.
push_back
(
corner
);
}
}
}
}
...
...
eeschema/edit_bitmap.cpp
View file @
7e277978
...
@@ -93,7 +93,7 @@ static void moveBitmap( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aPosit
...
@@ -93,7 +93,7 @@ static void moveBitmap( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aPosit
}
}
// Draw the bitmap at it's new position.
// Draw the bitmap at it's new position.
image
->
Move
(
screen
->
GetCrossHairPosition
()
);
image
->
SetPosition
(
screen
->
GetCrossHairPosition
()
);
image
->
Draw
(
aPanel
,
aDC
,
wxPoint
(
0
,
0
),
GR_DEFAULT_DRAWMODE
);
image
->
Draw
(
aPanel
,
aDC
,
wxPoint
(
0
,
0
),
GR_DEFAULT_DRAWMODE
);
}
}
...
...
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