Skip to content
Snippets Groups Projects
Commit 88164597 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

pp

parent 125a16a9
Branches
Tags
No related merge requests found
......@@ -649,12 +649,13 @@ int openglWindow::handle(int event)
if(me) text += me->getInfoString();
if(points.size()){
char tmp[256];
sprintf(tmp, "(%g,%g)", points[0].x(), points[0].y());
sprintf(tmp, "Point (%.16g, %.16g)", points[0].x(), points[0].y());
text += tmp;
if(CTX::instance()->post.graphPointCommand.size()){
text += std::string("\nDouble-click to parse `");
text += CTX::instance()->post.graphPointCommand;
text += std::string("'");
text += std::string(" - Double-click to execute\n\n");
std::string cmd = CTX::instance()->post.graphPointCommand;
std::replace(cmd.begin(), cmd.end(), '\r', ' ');
text += cmd;
}
}
if(CTX::instance()->tooltips)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment