From a4449418356e46f16e99745ea48be7811e513ee8 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 28 Oct 2004 06:57:34 +0000 Subject: [PATCH] add point with 'e', too --- Fltk/Callbacks.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Fltk/Callbacks.cpp b/Fltk/Callbacks.cpp index ab449a9483..f66ef0fa4e 100644 --- a/Fltk/Callbacks.cpp +++ b/Fltk/Callbacks.cpp @@ -1,4 +1,4 @@ -// $Id: Callbacks.cpp,v 1.293 2004-10-28 06:11:22 geuzaine Exp $ +// $Id: Callbacks.cpp,v 1.294 2004-10-28 06:57:34 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -1671,7 +1671,7 @@ void geometry_elementary_add_new_point_cb(CALLBACK_ARGS) while(1) { Msg(STATUS3N, "Creating point"); Msg(ONSCREEN, "Click and/or enter coordinates\n" - "[Click 'Add' to add point or press 'q' to abort]"); + "[Press 'e' or 'Add' to add point or 'q' to abort]"); Vertex *v; Curve *c; Surface *s; @@ -1679,6 +1679,9 @@ void geometry_elementary_add_new_point_cb(CALLBACK_ARGS) if(ib == 'q'){ break; } + else if(ib == 'e') { + con_geometry_define_point_cb(NULL, NULL); + } else if(ib == 'c') { // mouse click // find line in real space corresponding to current cursor position double p[3], d[3]; -- GitLab