kicad/pcbnew
Steve Bollinger 85f4f0d6c8 pcbnew: switching track posture may not work on first attempt
If you drag a track out and connect to a pad then press the hotkey
to switch the track posture it may not switch because the track
posture selected when the pad was reached is different than the one
that the mouse trail placer drew. As the aspect switching is done
in the mouse trail placer it does not know that the line placer
already override the track.

To correct this, in LINE_PLACER::FlipPosture() if the aspect is not
currently manually forced then copy the current aspect from the
line placer to m_mouseTrailPlacer before calling the FlipPosture()
method of m_mouseTrailPlacer. This will only be done once per
dragging session as once the aspect is manually forced it remains
manually forced. This seems to fix the issue with no undesirable
side effects.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/12369
2023-05-11 23:35:21 +00:00
..
autorouter Turn on and fix MSVC compliance mode issues 2023-02-12 16:30:37 -05:00
board_stackup_manager Lazy loading of stackup UI widgets. 2023-05-11 14:37:48 +01:00
connectivity Tighten lifecycle management of CN_ANCHOR/CN_ITEM. 2023-05-03 10:50:31 +01:00
dialogs Revert addition of update-teardrops checkbox to DRC dialog. 2023-05-11 14:53:28 +01:00
drc Performance. (Coverity) 2023-05-07 14:58:44 +01:00
exporters Don't allow thickness of 0 in case of an empty stackup. 2023-05-07 22:24:40 +01:00
import_gfx Ensure that even open paths with fills are filled 2023-04-20 12:31:04 -07:00
microwave Retire Local/Draw coords distinction from PAD (the last object to have it). 2023-04-02 18:02:41 +01:00
navlib Fix a few Coverity warnings (not initialized vars) 2023-05-10 09:21:39 +02:00
netlist_reader Back Annotation: add support for DNP and Exclude from BOM attributes 2023-05-01 08:54:14 -04:00
plugins Fix a bunch more issues with sheetpaths and allowExtraText. 2023-05-05 17:23:52 +01:00
python better QFNWizard. 2023-04-23 17:34:21 +02:00
ratsnest Multi-threading safety. 2023-04-16 15:36:21 +01:00
router pcbnew: switching track posture may not work on first attempt 2023-05-11 23:35:21 +00:00
specctra_import_export Remove hard-coded safety margin from specctra output 2023-05-10 21:55:47 -04:00
teardrop Add "generate raw teardrops" option to Add Teardrops dialog. 2023-05-11 15:47:42 +01:00
tools Revert addition of update-teardrops checkbox to DRC dialog. 2023-05-11 14:53:28 +01:00
widgets Fix a bunch more issues with sheetpaths and allowExtraText. 2023-05-05 17:23:52 +01:00
CMakeLists.txt Revert "Reintroduce constexpr to COLOR4D" 2023-04-06 20:18:31 +01:00
Doxyfile_python
Doxyfile_xml
action_plugin.cpp
action_plugin.h
array_creator.cpp Collapse FP_* down into their PCB_* equivalents. 2023-03-31 22:57:46 +01:00
array_creator.h
array_pad_number_provider.cpp
array_pad_number_provider.h Fix typos in pcbnew sub-directory 2022-06-30 09:39:45 -04:00
board.cpp Update DRC exclusions model to match terminology. 2023-04-15 12:18:41 +01:00
board.h Update DRC exclusions model to match terminology. 2023-04-15 12:18:41 +01:00
board_commit.cpp Add COMMIT structure to Schematic and Symbol editors 2023-04-28 17:05:47 -07:00
board_commit.h Add COMMIT structure to Schematic and Symbol editors 2023-04-28 17:05:47 -07:00
board_connected_item.cpp Properties: Hide Net Class from GUI 2023-03-26 19:46:00 -04:00
board_connected_item.h 15% rendering optimization in PCB_TRACK::ViewGetLOD. 2023-01-27 18:37:43 +03:00
board_design_settings.cpp Revert addition of update-teardrops checkbox to DRC dialog. 2023-05-11 14:53:28 +01:00
board_item.cpp Collapse FP_* down into their PCB_* equivalents. 2023-03-31 22:57:46 +01:00
board_item_container.h Fix typos in pcbnew sub-directory 2022-06-30 09:39:45 -04:00
build_BOM_from_board.cpp Fix a bunch more issues with sheetpaths and allowExtraText. 2023-05-05 17:23:52 +01:00
cleanup_item.cpp Add pad-recombining to FPEditor's Cleanup Graphics. 2022-09-24 19:34:06 +01:00
cleanup_item.h Add pad-recombining to FPEditor's Cleanup Graphics. 2022-09-24 19:34:06 +01:00
collectors.cpp Collapse FP_* down into their PCB_* equivalents. 2023-03-31 22:57:46 +01:00
collectors.h Collapse FP_* down into their PCB_* equivalents. 2023-03-31 22:57:46 +01:00
convert_shape_list_to_polygon.cpp Handle multiple holes in footprints 2023-04-20 14:56:36 -07:00
convert_shape_list_to_polygon.h Refactor poly outline generator to handle multiple outlines. 2022-10-14 20:32:04 +01:00
cross-probing.cpp Back Annotation: add support for DNP and Exclude from BOM attributes 2023-05-01 08:54:14 -04:00
edit.cpp Collapse FP_* down into their PCB_* equivalents. 2023-03-31 22:57:46 +01:00
edit_track_width.cpp Rollback wxChoice -> wxComboBox changes for now. 2023-04-09 23:00:33 +01:00
edit_zone_helpers.cpp More safety around ratsnest state. 2022-11-30 13:00:21 +00:00
files.cpp Convert sprintf to snprintf in most files 2023-04-17 15:39:34 +00:00
footprint.cpp Fix a bunch more issues with sheetpaths and allowExtraText. 2023-05-05 17:23:52 +01:00
footprint.h Sch->PCB: propagate DNP from symbols to footprints attributes 2023-04-10 13:11:21 -04:00
footprint_edit_frame.cpp Added a sort-order dropdown to lib-tree filters. 2023-05-01 21:26:43 +01:00
footprint_edit_frame.h Fp editor and Fp viewer: fix missing info on msg panel after loading a fp 2023-01-25 17:47:04 +01:00
footprint_editor_settings.cpp Added a sort-order dropdown to lib-tree filters. 2023-05-01 21:26:43 +01:00
footprint_editor_utils.cpp Collapse FP_* down into their PCB_* equivalents. 2023-03-31 22:57:46 +01:00
footprint_info_impl.cpp Catch IO_ERROR thrown in timestamp gen 2022-11-29 14:09:22 -08:00
footprint_info_impl.h ADDED: Threadpool 2022-06-24 22:59:24 +00:00
footprint_libraries_utils.cpp Collapse FP_* down into their PCB_* equivalents. 2023-03-31 22:57:46 +01:00
footprint_preview_panel.cpp Collapse FP_* down into their PCB_* equivalents. 2023-03-31 22:57:46 +01:00
footprint_preview_panel.h Graphical diff for board vs library footprints. 2023-03-10 17:16:40 +00:00
footprint_tree_pane.cpp Footprint Editor: Focus search field when window is first opened 2022-12-20 19:54:02 +00:00
footprint_tree_pane.h Footprint Editor: Focus search field when window is first opened 2022-12-20 19:54:02 +00:00
footprint_viewer_frame.cpp Added a sort-order dropdown to lib-tree filters. 2023-05-01 21:26:43 +01:00
footprint_viewer_frame.h Fp editor and Fp viewer: fix missing info on msg panel after loading a fp 2023-01-25 17:47:04 +01:00
footprint_wizard.cpp
footprint_wizard.h
footprint_wizard_frame.cpp Fix static event table derived object definitions. 2023-01-28 14:10:06 -05:00
footprint_wizard_frame.h
footprint_wizard_frame_functions.cpp Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
fp_text_grid_table.cpp Add missing property to footprint texts table. 2023-05-03 17:57:13 +01:00
fp_text_grid_table.h Add missing property to footprint texts table. 2023-05-03 17:57:13 +01:00
fp_tree_model_adapter.cpp Add pin/unpin context menu to Symbol Chooser and Footprint Chooser. 2022-09-21 14:45:12 +01:00
fp_tree_model_adapter.h Add pin/unpin context menu to Symbol Chooser and Footprint Chooser. 2022-09-21 14:45:12 +01:00
fp_tree_synchronizing_adapter.cpp PCM: auto reload global libs after dialog is run 2023-02-17 17:24:32 +00:00
fp_tree_synchronizing_adapter.h PCM: auto reload global libs after dialog is run 2023-02-17 17:24:32 +00:00
generate_footprint_info.cpp Handle updated document description format 2022-04-15 11:17:01 -07:00
generate_footprint_info.h
graphics_cleaner.cpp Collapse FP_* down into their PCB_* equivalents. 2023-03-31 22:57:46 +01:00
graphics_cleaner.h Add pad-recombining to FPEditor's Cleanup Graphics. 2022-09-24 19:34:06 +01:00
grid_layer_box_helpers.cpp Replace __WXGTK20__ with __WXGTK__ 2023-04-12 18:57:12 +01:00
grid_layer_box_helpers.h
initpcb.cpp Re-resolve netclasses after assigning netclass to pattern. 2022-11-22 14:54:08 +00:00
invoke_pcb_dialog.h
io_mgr.cpp Rename PROPERTIES to STRING_UTF8_MAP for clarity 2022-11-06 11:51:52 -05:00
io_mgr.h Cleanup printf bits 2023-04-20 15:19:04 -07:00
kicad_clipboard.cpp Banish ignore.h to core 2023-04-18 22:44:04 -04:00
kicad_clipboard.h Rename PROPERTIES to STRING_UTF8_MAP for clarity 2022-11-06 11:51:52 -05:00
load_select_footprint.cpp Banish ignore.h to core 2023-04-18 22:44:04 -04:00
menubar_footprint_editor.cpp Add grid reset to place menubar. 2023-02-11 13:20:35 -05:00
menubar_pcb_editor.cpp Graphical diff for schematic vs library symbols. 2023-03-09 18:04:52 +00:00
netinfo.h Fix Doxygen directives in numerous headers 2023-03-24 13:02:13 +00:00
netinfo_item.cpp Fix netnames. 2023-01-27 19:35:41 +03:00
netinfo_list.cpp Coverity fixes and code cleaning. 2023-03-02 09:04:47 -05:00
pad.cpp Expand solder mask for pads *defined* to be on copper layers. 2023-05-06 21:39:01 +01:00
pad.h Use operator at() instead of [] to access a std::array item 2023-05-03 16:40:40 +02:00
pad_custom_shape_functions.cpp Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
pcb_base_edit_frame.cpp Update dimension units when opening PCBs in CLI. 2023-03-13 20:26:11 +00:00
pcb_base_edit_frame.h Collapse FP_* down into their PCB_* equivalents. 2023-03-31 22:57:46 +01:00
pcb_base_frame.cpp Move Spacemouse to advanced config 2023-04-07 10:08:43 -07:00
pcb_bitmap.cpp SCH_BITMAP and PCB_BITMAP: rename m_image to m_bitmapBase. Add more info 2023-04-22 17:28:06 +02:00
pcb_bitmap.h SCH_BITMAP and PCB_BITMAP: rename m_image to m_bitmapBase. Add more info 2023-04-22 17:28:06 +02:00
pcb_dimension.cpp Fix a bunch more issues with sheetpaths and allowExtraText. 2023-05-05 17:23:52 +01:00
pcb_dimension.h Collapse FP_* down into their PCB_* equivalents. 2023-03-31 22:57:46 +01:00
pcb_draw_panel_gal.cpp Formatting and warnings cleanup. (No functional changes.) 2023-04-16 15:36:21 +01:00
pcb_draw_panel_gal.h Formatting and warnings cleanup. (No functional changes.) 2023-04-16 15:36:21 +01:00
pcb_edit_frame.cpp Fix a bunch more issues with sheetpaths and allowExtraText. 2023-05-05 17:23:52 +01:00
pcb_edit_frame.h Update DRC exclusions model to match terminology. 2023-04-15 12:18:41 +01:00
pcb_expr_evaluator.cpp Record parent rule for DRC assertions. 2023-04-30 13:01:09 +01:00
pcb_expr_evaluator.h Cleanup printf bits 2023-04-20 15:19:04 -07:00
pcb_expr_functions.cpp ADDED memberOfFootprint() to DRC custom rules functions. 2023-04-12 14:06:09 +01:00
pcb_group.cpp Collapse FP_* down into their PCB_* equivalents. 2023-03-31 22:57:46 +01:00
pcb_item_containers.h Collapse FP_* down into their PCB_* equivalents. 2023-03-31 22:57:46 +01:00
pcb_layer_box_selector.cpp Improve HiDPI handling of appearance/layer controls 2023-02-22 09:20:36 -05:00
pcb_layer_box_selector.h
pcb_marker.cpp Rename GetSelectMenuText to GetItemDescription 2023-01-11 22:27:44 -05:00
pcb_marker.h Rename GetSelectMenuText to GetItemDescription 2023-01-11 22:27:44 -05:00
pcb_origin_transforms.cpp Remove bad static_cast. 2022-07-24 23:41:41 +01:00
pcb_origin_transforms.h
pcb_painter.cpp Use track opacity for teardrops. 2023-05-11 15:57:44 +01:00
pcb_painter.h Collapse FP_* down into their PCB_* equivalents. 2023-03-31 22:57:46 +01:00
pcb_plot_params.cpp Add settings for plotting PDF property popups. 2023-04-30 18:10:04 +01:00
pcb_plot_params.h Add settings for plotting PDF property popups. 2023-04-30 18:10:04 +01:00
pcb_plot_params_parser.h Pcbnew: add plot on all layers feature. 2022-04-02 14:33:40 -04:00
pcb_plot_svg.cpp Fix compile warning 2023-01-25 13:53:13 -08:00
pcb_plot_svg.h Hotglue footprint to svg export 2022-12-13 22:50:15 -05:00
pcb_screen.cpp Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
pcb_shape.cpp Collapse FP_* down into their PCB_* equivalents. 2023-03-31 22:57:46 +01:00
pcb_shape.h Collapse FP_* down into their PCB_* equivalents. 2023-03-31 22:57:46 +01:00
pcb_target.cpp Rename GetSelectMenuText to GetItemDescription 2023-01-11 22:27:44 -05:00
pcb_target.h Rename GetSelectMenuText to GetItemDescription 2023-01-11 22:27:44 -05:00
pcb_text.cpp Fix a bunch more issues with sheetpaths and allowExtraText. 2023-05-05 17:23:52 +01:00
pcb_text.h Fix a bunch more issues with sheetpaths and allowExtraText. 2023-05-05 17:23:52 +01:00
pcb_textbox.cpp Fix a bunch more issues with sheetpaths and allowExtraText. 2023-05-05 17:23:52 +01:00
pcb_textbox.h Fix a bunch more issues with sheetpaths and allowExtraText. 2023-05-05 17:23:52 +01:00
pcb_track.cpp Coverity fixes and code cleaning. 2023-03-06 07:12:18 -05:00
pcb_track.h Use operator at() instead of [] to access a std::array item 2023-05-03 16:40:40 +02:00
pcb_view.cpp
pcb_view.h
pcbnew.cpp Fixup settings loading 2023-04-18 16:00:31 -07:00
pcbnew.h Remove convert_to_biu.h, merge contents to base_units.h 2022-09-16 21:09:28 -04:00
pcbnew.icns
pcbnew_config.cpp Move to requiring explicit action to save project settings 2023-03-04 14:25:07 -05:00
pcbnew_config.h
pcbnew_doc.icns
pcbnew_id.h Footprint viewers: fix regression: re-add automatic zoom option when loading a new footprint 2022-04-18 11:15:14 +02:00
pcbnew_jobs_handler.cpp Add settings for plotting PDF property popups. 2023-04-30 18:10:04 +01:00
pcbnew_jobs_handler.h Fix gerbers and drill plot not logging errors 2023-04-20 23:39:59 -04:00
pcbnew_printout.cpp Commenting and formatting. No functional changes. 2023-03-13 18:29:55 +00:00
pcbnew_printout.h Commenting and formatting. No functional changes. 2023-03-13 18:29:55 +00:00
pcbnew_settings.cpp Revert addition of update-teardrops checkbox to DRC dialog. 2023-05-11 14:53:28 +01:00
pcbnew_settings.h Revert addition of update-teardrops checkbox to DRC dialog. 2023-05-11 14:53:28 +01:00
pcbplot.cpp Add settings for plotting PDF property popups. 2023-04-30 18:10:04 +01:00
pcbplot.h Add settings for plotting PDF property popups. 2023-04-30 18:10:04 +01:00
plot_board_layers.cpp Fix a bunch more issues with sheetpaths and allowExtraText. 2023-05-05 17:23:52 +01:00
plot_brditems_plotter.cpp Fix a bunch more issues with sheetpaths and allowExtraText. 2023-05-05 17:23:52 +01:00
plotcontroller.h Allow plotting of multiple board layers per plot in Python. 2023-02-14 09:49:20 -05:00
plotprint_opts.h Avoid duplicating similar options in print and plot headers 2022-11-12 16:02:24 +01:00
plugin.cpp Fix a bunch of compiler warnings 2023-04-11 17:01:30 +00:00
sel_layer.cpp
toolbars_footprint_editor.cpp Rollback wxChoice -> wxComboBox changes for now. 2023-04-09 23:00:33 +01:00
toolbars_footprint_viewer.cpp Rollback wxChoice -> wxComboBox changes for now. 2023-04-09 23:00:33 +01:00
toolbars_pcb_editor.cpp Rollback wxChoice -> wxComboBox changes for now. 2023-04-09 23:00:33 +01:00
tracks_cleaner.cpp Remove superfluous m_status variable 2023-03-24 09:38:39 -07:00
tracks_cleaner.h Performance enhancements for Cleanup Tracks & Vias.Performance enhancements for Cleanup Tracks & Vias.Performance enhancements for Cleanup Tracks & Vias.Performance enhancements for Cleanup Tracks & Vias.Performance enhancements for Cleanup Tracks & Vias.Performance enhancements for Cleanup Tracks & Vias.Performance enhancements for Cleanup Tracks & Vias.Performance enhancements for Cleanup Tracks & Vias.Performance enhancements for Cleanup Tracks & Vias. 2022-03-18 11:04:53 +00:00
undo_redo.cpp Clear board soldermask when undoing/redoing items that affect it. 2023-04-15 00:06:58 +01:00
zone.cpp Collapse FP_* down into their PCB_* equivalents. 2023-03-31 22:57:46 +01:00
zone.h Collapse FP_* down into their PCB_* equivalents. 2023-03-31 22:57:46 +01:00
zone_filler.cpp Allow text input to Convert to Polygon/Zone/Keepout. 2023-04-28 17:43:08 +01:00
zone_filler.h Fix an edge-case in the spoke genration logic for non-cardinal spokes. 2022-10-01 19:31:47 +01:00
zone_settings.cpp Zones: use metric defaults and limits instead of mixed units 2023-02-11 07:39:29 -05:00
zone_settings.h Fix a few doxygen errors (no actual code change) 2023-04-19 16:20:24 +02:00
zones.h Zones: use metric defaults and limits instead of mixed units 2023-02-11 07:39:29 -05:00
zones_functions_for_undo_redo.cpp More tightening of group parent lifecycles. 2022-11-16 00:42:38 +00:00
zones_functions_for_undo_redo.h Formatting and a bit of cleanup. 2022-10-21 18:41:39 +01:00