Well, I think we have to decide what we want. It does not mean it has to be this way, only that we have not come yet with a better idea.triplus wrote:Ideally i guess right click would do it. But if you are facing technical challenges preventing you to implement such behaviour i can understand that.
For example, it may be possible to actually create points at each click, so that if the last point is the same as the first, it closes. We only have to delete the introduced points before creating the BSpline.
We can also modify ViewProviderSketch to change the current ESC/right click behaviour for ViewProviderSketch...
Code: Select all
else if (Button == 2) {
if (!pressed) {
switch (Mode) {
case STATUS_SKETCH_UseHandler:
// make the handler quit
edit->sketchHandler->quit();
return true;
Code: Select all
void DrawSketchHandler::quit(void)