e4fbd003e0
If a tool called something like clearSelection while processing a MOUSE_CLICK, the SELECTION_TOOL will pass the clearSelection COMMAND_EVENT because it handles it as a transition, not as an event. Because m_passEvent is effectively global, the tool manager would then interpret that as passing the MOUSE_CLICK and we'd end up processing the click by multiple tools. |
||
---|---|---|
.. | ||
cvpcb_actions.h | ||
cvpcb_control.cpp | ||
cvpcb_control.h | ||
cvpcb_selection_tool.cpp | ||
cvpcb_selection_tool.h |