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

fix test on doubleClicked{Curve,Surface,Volume}Command

parent 332dd27f
No related branches found
No related tags found
No related merge requests found
......@@ -405,7 +405,7 @@ int openglWindow::handle(int event)
else if(edges.size() &&
CTX::instance()->geom.doubleClickedCurveCommand.size()) {
CTX::instance()->geom.doubleClickedEntityTag = edges[0]->tag();
if(CTX::instance()->geom.doubleClickedPointCommand == "ONELAB")
if(CTX::instance()->geom.doubleClickedCurveCommand == "ONELAB")
FlGui::instance()->onelabContext->show(1, edges[0]->tag());
else
ParseString(CTX::instance()->geom.doubleClickedCurveCommand, true);
......@@ -413,7 +413,7 @@ int openglWindow::handle(int event)
else if(faces.size() &&
CTX::instance()->geom.doubleClickedSurfaceCommand.size()) {
CTX::instance()->geom.doubleClickedEntityTag = faces[0]->tag();
if(CTX::instance()->geom.doubleClickedPointCommand == "ONELAB")
if(CTX::instance()->geom.doubleClickedSurfaceCommand == "ONELAB")
FlGui::instance()->onelabContext->show(2, faces[0]->tag());
else
ParseString(CTX::instance()->geom.doubleClickedSurfaceCommand, true);
......@@ -421,7 +421,7 @@ int openglWindow::handle(int event)
else if(regions.size() &&
CTX::instance()->geom.doubleClickedVolumeCommand.size()) {
CTX::instance()->geom.doubleClickedEntityTag = regions[0]->tag();
if(CTX::instance()->geom.doubleClickedPointCommand == "ONELAB")
if(CTX::instance()->geom.doubleClickedVolumeCommand == "ONELAB")
FlGui::instance()->onelabContext->show(3, regions[0]->tag());
else
ParseString(CTX::instance()->geom.doubleClickedVolumeCommand, true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment