kicad/pcbnew/tools
Maciej Suminski 4671b9b34e Fixed module removal when rotating/flipping a placed module
Module placer did not mark the newly placed modules as selected,
but all edit functions (rotate/place/etc.) rely on getting a selected
item. When a rotation/flip command was issued, the newly placed module
was dropped and the one underneath the cursor has been rotated.

To fix this the newly placed modules are marked as selected.
It also simplifies the placer code a bit.

Fixes: lp:1738148
* https://bugs.launchpad.net/kicad/+bug/1738148
2017-12-14 17:13:42 +01:00
..
drawing_tool.cpp refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
drawing_tool.h refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
edit_constraints.cpp replace round() with KiROUND(), our function that is used almost everywhere for rounding, and detects int overflows in debug mode. 2015-07-17 10:26:48 +02:00
edit_constraints.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
edit_points.cpp Fixed bounding box computation for EDIT_POINTS class 2017-02-09 12:03:28 +01:00
edit_points.h Refactor layer enumerations to all live in the same place 2017-03-30 16:01:48 -04:00
edit_tool.cpp Do not ask for confirmation to open Properties dialog for a locked footprint 2017-11-28 17:35:46 +01:00
edit_tool.h pcbnew: code formatting, removed previous module editor copy/paste functions 2017-09-30 14:28:54 +02:00
grid_helper.cpp refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
grid_helper.h refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
microwave_tool.cpp Prevent creating too many transitions by TOOL_MANAGER 2017-07-31 15:09:19 +02:00
microwave_tool.h Prevent creating too many transitions by TOOL_MANAGER 2017-07-31 15:09:19 +02:00
module_editor_tools.cpp refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
module_editor_tools.h pcbnew: tools for converting between custom-shaped pads and graphical shapes 2017-10-19 23:35:18 +02:00
pad_tool.cpp pcbnew: tools for converting between custom-shaped pads and graphical shapes 2017-10-19 23:35:18 +02:00
pad_tool.h Prevent creating too many transitions by TOOL_MANAGER 2017-07-31 15:09:19 +02:00
pcb_actions.cpp refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
pcb_actions.h refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
pcb_bright_box.cpp Refactor BRIGHT_BOX to common so it can be used by other programs 2017-03-11 21:38:01 +01:00
pcb_bright_box.h Refactor BRIGHT_BOX to common so it can be used by other programs 2017-03-11 21:38:01 +01:00
pcb_editor_control.cpp Fixed module removal when rotating/flipping a placed module 2017-12-14 17:13:42 +01:00
pcb_editor_control.h pcbnew: Optimized zone filling algorithm. 2017-12-05 14:54:57 +01:00
pcb_selection_conditions.cpp Refactor SELECTION, SELECTION_CONDITIONS, and context menus to common 2017-02-28 14:47:20 +01:00
pcb_selection_conditions.h Refactor SELECTION, SELECTION_CONDITIONS, and context menus to common 2017-02-28 14:47:20 +01:00
pcb_tool.cpp PCB_TOOL: added convenience methods for accessing current SELECTION 2017-12-05 14:54:57 +01:00
pcb_tool.h PCB_TOOL: added convenience methods for accessing current SELECTION 2017-12-05 14:54:57 +01:00
pcbnew_control.cpp pcbnew: fixed stuck cursor when ForceCursorPosition() is active and cursor is moved by keyboard arrows 2017-11-16 00:43:23 +01:00
pcbnew_control.h Fix crash when appending a board in pcbnew. 2017-11-11 09:09:24 +01:00
picker_tool.cpp refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
picker_tool.h refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
placement_tool.cpp Fix AlignLeft / AlignRight when using Flip Board view 2017-12-11 09:40:08 +01:00
placement_tool.h Fix AlignLeft / AlignRight when using Flip Board view 2017-12-11 09:40:08 +01:00
point_editor.cpp Fix segfault when removing the last corner of a cutout 2017-12-06 16:28:03 +01:00
point_editor.h POINT_EDITOR: migrate to ZONE_FILLER class 2017-12-05 14:54:57 +01:00
position_relative_tool.cpp Add a gerber test file 2017-10-23 09:20:10 +02:00
position_relative_tool.h Prevent creating too many transitions by TOOL_MANAGER 2017-07-31 15:09:19 +02:00
selection.cpp pcbnew: Minor changes in CONNECTIVITY_DATA interface: 2017-11-15 18:34:08 +01:00
selection_tool.cpp Cosmetic enhancement in GAL: disambiguationMenu: add icons in menuitems, like in Legacy mode. 2017-12-13 19:42:33 +01:00
selection_tool.h refactoring: implemented SELECTION_TOOL's own GetCollectorsGuide() to avoid dependency on PCB_BASE_FRAME 2017-11-03 20:02:06 +01:00
size_menu.cpp Move bitmaps.h out of base_struct.h 2017-02-21 09:50:15 -05:00
size_menu.h Fix a few doxygen warnings 2017-07-08 21:13:32 +02:00
tool_event_utils.cpp Add cancel interactive tool action to GAL 2017-02-24 10:37:07 +01:00
tool_event_utils.h Remove some extra semicolons 2017-11-09 19:52:18 +01:00
tools_common.cpp pcbnew: Optimized zone filling algorithm. 2017-12-05 14:54:57 +01:00
zone_create_helper.cpp pcbnew: factored out ZONE_FILLER to a separate file 2017-12-05 14:54:57 +01:00
zone_create_helper.h Rework zone creation in GAL 2017-03-22 17:18:12 +01:00
zone_filler_tool.cpp pcbnew: factored out ZONE_FILLER to a separate file 2017-12-05 14:54:57 +01:00
zone_filler_tool.h pcbnew: Optimized zone filling algorithm. 2017-12-05 14:54:57 +01:00