kicad/gerbview
Seth Hillbrand 25f6483488 gerbview: Ensure selection lives on top
Just picking the next layer will be overwritten when we have multiple
objects on the same layer in gerbview.  Move the selection to the top to
ensure it is out top-most layer when drawing.

Fixes: lp:1833868
* https://bugs.launchpad.net/kicad/+bug/1833868

(cherry picked from commit 77488e379c)
2019-08-22 10:52:56 -07:00
..
dialogs Replace DIM() macro 2019-01-06 08:43:12 -08:00
gerber_test_files Add a gerber test file 2017-10-23 09:20:10 +02:00
tools gerbview: Ensure selection lives on top 2019-08-22 10:52:56 -07:00
CMakeLists.txt Set KiCad version in MacOS apps 2019-06-12 14:12:01 -07:00
DCodeSelectionbox.cpp Fix code after renaming files 2018-01-29 16:40:22 +01:00
DCodeSelectionbox.h Gerbview: fix code after renaming files 2018-01-29 13:26:58 +01:00
Info.plist.in Set KiCad version in MacOS apps 2019-06-12 14:12:01 -07:00
X2_gerber_attributes.cpp Gerbview: minor code cleanup 2018-05-14 09:05:11 +02:00
X2_gerber_attributes.h Gerbview: fix code after renaming files 2018-01-29 13:26:58 +01:00
am_param.cpp Fix issue in aperture macro with some strange gerber files. 2018-03-14 14:55:51 +01:00
am_param.h Gerbview: fix code after renaming files 2018-01-29 13:26:58 +01:00
am_primitive.cpp Gerbview: fix a overzealous wxASSERT 2018-10-09 08:39:21 +02:00
am_primitive.h Gerbview: fix code after renaming files 2018-01-29 13:26:58 +01:00
block.cpp Gerbview: fix code after renaming files 2018-01-29 13:26:58 +01:00
clear_gbr_drawlayers.cpp Gerbview, GAL mode: fix "Zoom to fit" area size calculation when nothing is loaded. 2018-06-01 11:39:08 +02:00
controle.cpp hotkey management: enhancements in code to know if a hotkey was handled by an event or not. 2017-10-06 09:23:13 +02:00
dcode.cpp GerbView: incorrect handling of polygon primitive: broken parameters rotation and drill size. 2018-06-25 11:00:53 +02:00
dcode.h GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
draw_gerber_screen.cpp Handle layer settings in printouts 2018-10-31 19:17:30 +01:00
evaluate.cpp Gerbview: fix code after renaming files 2018-01-29 13:26:58 +01:00
events_called_functions.cpp Remove help from F1 key and move it to an action 2019-06-13 14:11:24 -04:00
excellon_image.h Gerbview, Excellon (NC) drill files reader: routing mode: better handling of malformed files. 2018-11-26 10:55:36 +01:00
excellon_read_drill_file.cpp Gerbview: fix crash when reading a .gbrjob, and when a file given by the .gbrjob is not found. A incorrect gerber image was created, creating crash on exit or when enable the layer view. 2019-03-24 17:40:16 +01:00
export_to_pcbnew.cpp Gerbview exporter: fix a wxASSERT. 2018-12-21 13:48:00 +01:00
files.cpp Increase GervView layers to 51. 2019-04-10 21:23:29 +01:00
gbr_display_options.h Add Worksheet to Render Items for GerbView. 2018-07-17 15:13:43 +01:00
gbr_layer_box_selector.cpp In-place editing for footprint TEXTE_MODULEs. 2018-07-17 15:11:04 +01:00
gbr_layer_box_selector.h Make esc dismiss net and layer selector popups. 2018-09-22 16:23:13 +01:00
gbr_layout.cpp Fix a minor issue in Legacy mode: DCodes were displayed regardless the visibility of the layers. 2018-11-24 10:14:33 +01:00
gbr_layout.h Handle layer settings in printouts 2018-10-31 19:17:30 +01:00
gbr_screen.cpp Replace DIM() macro 2019-01-06 08:43:12 -08:00
gbr_screen.h Gerbview: fix code after renaming files 2018-01-29 13:26:58 +01:00
gerber_collectors.cpp GerbView GAL support part 2: New files for GAL 2017-09-25 13:35:01 +02:00
gerber_collectors.h rename class_collector.h to collector.h 2018-02-04 10:49:37 +01:00
gerber_draw_item.cpp Gerbview: fix incorrect initialization of WorldUnitLength. 2018-11-20 10:27:59 +01:00
gerber_draw_item.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
gerber_file_image.cpp Replace DIM() macro 2019-01-06 08:43:12 -08:00
gerber_file_image.h Gerber viewer: Ensure arc interpolation is used only after a arc command. 2018-12-01 18:52:27 +01:00
gerber_file_image_list.cpp Gerbview: fix crash when reading a .gbrjob, and when a file given by the .gbrjob is not found. A incorrect gerber image was created, creating crash on exit or when enable the layer view. 2019-03-24 17:40:16 +01:00
gerber_file_image_list.h GerbView: Implement in-place GAL layer reordering (for X2 sorting) 2018-02-27 20:59:07 +01:00
gerbview.cpp Fix 'hokey' -> 'hotkey' typo 2019-04-02 13:17:18 -04:00
gerbview.h Gerber viewer: Ensure arc interpolation is used only after a arc command. 2018-12-01 18:52:27 +01:00
gerbview.icns Update MacOS icons 2018-03-22 11:45:42 -04:00
gerbview.rc Remove old xpm icons files 2012-04-07 13:09:57 +02:00
gerbview_config.cpp Fix 'hokey' -> 'hotkey' typo 2019-04-02 13:17:18 -04:00
gerbview_doc.icns Update MacOS icons 2018-03-22 11:45:42 -04:00
gerbview_draw_panel_gal.cpp Exclude invisible items from view bounding box for zoom-to-fit 2019-05-25 10:44:15 -04:00
gerbview_draw_panel_gal.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
gerbview_frame.cpp Show the current grid setting. 2019-06-13 12:14:41 -04:00
gerbview_frame.h Show the current grid setting. 2019-06-13 12:14:41 -04:00
gerbview_id.h Remove help from F1 key and move it to an action 2019-06-13 14:11:24 -04:00
gerbview_layer_widget.cpp Increase GervView layers to 51. 2019-04-10 21:23:29 +01:00
gerbview_layer_widget.h Only adjust LAYER_WIDGET font size if larger than indicator. 2018-05-02 21:49:57 +01:00
gerbview_painter.cpp Fix issue in cairo_gal when drawing a 360 deg arc (in fact a circle). It was due to a angle normalization between -360 and 360 degrees. So, in arcs, if the start angle and end angle diff is n*360 deg, this normalization gives start angle = end angle. The fix forces end angle = start angle+360deg in this case. 2019-06-09 11:09:43 +02:00
gerbview_painter.h Refactored and unified board editor and footprint editor print dialogs 2018-10-31 19:17:30 +01:00
gerbview_printout.cpp Gerbview: fix incorrect initialization of WorldUnitLength. 2018-11-20 10:27:59 +01:00
gerbview_printout.h Removed a redundant parameter from BOARD_PRINTOUT constructor 2018-10-31 19:17:30 +01:00
hotkeys.cpp Add Ctrl+, hotkey to preferences dialog 2019-04-02 13:17:37 -04:00
hotkeys.h Fix 'hokey' -> 'hotkey' typo 2019-04-02 13:17:18 -04:00
job_file_reader.cpp Fix incorrect handling of unicode chars (non ASCII7) in filenames in .gbrjob files. 2019-07-14 11:19:03 +02:00
json11.cpp Add support for .gbrjob new file format (JSON format) in Gerbview 2018-03-19 15:14:20 +01:00
json11.hpp Add support for .gbrjob new file format (JSON format) in Gerbview 2018-03-19 15:14:20 +01:00
locate.cpp Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
menubar.cpp Remove help from F1 key and move it to an action 2019-06-13 14:11:24 -04:00
onleftclick.cpp Gerbview: fix code after renaming files 2018-01-29 13:26:58 +01:00
onrightclick.cpp Use "..." uniformly in menus. 2018-02-10 17:32:28 -05:00
readgerb.cpp Gerbview: fix crash when reading a .gbrjob, and when a file given by the .gbrjob is not found. A incorrect gerber image was created, creating crash on exit or when enable the layer view. 2019-03-24 17:40:16 +01:00
rs274_read_XY_and_IJ_coordinates.cpp Gerber viewer: Ensure arc interpolation is used only after a arc command. 2018-12-01 18:52:27 +01:00
rs274d.cpp Gerber viewer: Ensure arc interpolation is used only after a arc command. 2018-12-01 18:52:27 +01:00
rs274x.cpp Gerbview: Excellon drill files reader: add a better support of routing mode. 2018-09-24 13:12:47 +02:00
select_layers_to_pcb.cpp Gerbview: fix code after renaming files 2018-01-29 13:26:58 +01:00
select_layers_to_pcb.h * Gerbview: update a old code in a dialog. 2018-01-05 11:45:50 +01:00
toolbars_gerber.cpp Fix 'hokey' -> 'hotkey' typo 2019-04-02 13:17:18 -04:00