From: mpa Date: Fri, 13 Mar 2015 12:53:16 +0000 (+0300) Subject: 0022777: [CEA 1291] Display the name of an object in the 3D View (edited) X-Git-Tag: V7_6_0a1~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fa550f2017aa242e7058bdfad04401164553d200;p=modules%2Fgeom.git 0022777: [CEA 1291] Display the name of an object in the 3D View (edited) --- diff --git a/src/DisplayGUI/DisplayGUI.cxx b/src/DisplayGUI/DisplayGUI.cxx index 2255329cc..ed27084bf 100644 --- a/src/DisplayGUI/DisplayGUI.cxx +++ b/src/DisplayGUI/DisplayGUI.cxx @@ -159,11 +159,12 @@ bool DisplayGUI::OnGUIEvent(int theCommandID, SUIT_Desktop* parent) case GEOMOp::OpTexture: // POPUP MENU - DISPLAY MODE - TEXTURE ChangeDisplayMode( 3 ); break; - case GEOMOp::OpVectors: // POPUP MENU - DISPLAY MODE - SHOW EDGE DIRECTION + case GEOMOp::OpVectors: // POPUP MENU - DISPLAY MODE - SHOW EDGE DIRECTION ChangeDisplayMode( 4 ); break; - case GEOMOp::OpVertices: // POPUP MENU - DISPLAY MODE - SHOW VERTICES + case GEOMOp::OpVertices: // POPUP MENU - DISPLAY MODE - SHOW VERTICES ChangeDisplayMode( 5 ); + break; case GEOMOp::OpShowName: // POPUP MENU - DISPLAY MODE - SHOW NAME ChangeDisplayMode( 6 ); break;