That's very nice ! I didn't knew it could do all of that.chrisb wrote: ↑Thu Jan 13, 2022 9:54 pm The M key is very important, as that's what makes polyline so powerful. See Sketcher Polyline.
Maybe the Polyline icon could have an arc? To make it clearer that the tool can make different geometries. Like this?
So yes that can't be lost, we need a way around that to catch the press of M. Though if user wants to type the unit 'mm' in the spinbox... Could the shortcut changed to another key? Like Ctrl or Alt.
edit: I tried to change the mode key to CTRL but it doesn't work. I guess it's because the view doesn't have the focus?
Code: Select all
if ( (key == SoKeyboardEvent::RIGHT_CONTROL || key == SoKeyboardEvent::LEFT_CONTROL) && pressed && previousCurve != -1) {