diff --git a/Fltk/Callbacks.cpp b/Fltk/Callbacks.cpp index ab449a948343d1930585ba4891f30c22ebf9da3b..f66ef0fa4e60a97e98392cc5afa9eac01745a287 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];