kicad/pcbnew/tools
Jose I Romero 3d2b5e3922 Allow items to be moved from all anchor points
A change in commit 5731000135 caused kicad to stop allowing users
to move items like footprints, arcs and lines using anchors other
than the center point.

This was caused by the new code that stores reference points for
clipboard pasting, a call to updateModificationPoint() prevented
some old code paths from executing, which caused the selection to
snap into the cursor, always using the center anchor.

This fix moves the call within the if-cases that need it, and adds
a ClearReferencePoint call when the selection is "dropped" to allow
the user to grab the same selection again from a different anchor.

Fixes: lp:1722512
* https://bugs.launchpad.net/kicad/+bug/1722512
2017-11-23 09:35:39 +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 Allow items to be moved from all anchor points 2017-11-23 09:35:39 +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 pcbnew: Minor changes in CONNECTIVITY_DATA interface: 2017-11-15 18:34:08 +01:00
pcb_editor_control.h Hide temporarily ratsnest when it is too complex for real-time calculation 2017-08-01 15:22:24 +02: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 refactoring: allow to run TOOL_MANAGER and SELECTION_TOOL without a host wxFrame 2017-11-03 20:02:06 +01:00
pcb_tool.h refactoring: allow to run TOOL_MANAGER and SELECTION_TOOL without a host wxFrame 2017-11-03 20:02:06 +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 Prevent creating too many transitions by TOOL_MANAGER 2017-07-31 15:09:19 +02:00
placement_tool.h Prevent creating too many transitions by TOOL_MANAGER 2017-07-31 15:09:19 +02:00
point_editor.cpp pcbnew: Minor changes in CONNECTIVITY_DATA interface: 2017-11-15 18:34:08 +01:00
point_editor.h Prevent creating too many transitions by TOOL_MANAGER 2017-07-31 15:09:19 +02: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 pcbnew: Minor changes in CONNECTIVITY_DATA interface: 2017-11-15 18:34:08 +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 Move ZOOM_TOOL to common; add RMB-drag to zoom out 2017-08-31 10:04:00 +02:00
zone_create_helper.cpp Remove some extra semicolons 2017-11-09 19:52:18 +01:00
zone_create_helper.h Rework zone creation in GAL 2017-03-22 17:18:12 +01:00