]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
IPAL10823 There is no bounding box of presentation after "Create presentation".
authordmv <dmv@opencascade.com>
Wed, 3 Dec 2008 10:03:38 +0000 (10:03 +0000)
committerdmv <dmv@opencascade.com>
Wed, 3 Dec 2008 10:03:38 +0000 (10:03 +0000)
src/VISUGUI/VisuGUI.cxx

index fa603b2f706ad1c5db2bc2915ff64e8437fd408e..de3cf94e8f73e430b75b9c2f0032e831321d2438 100644 (file)
@@ -694,6 +694,7 @@ VisuGUI
 
   // create mesh presentation and display it in aViewWindow
   VISU::Mesh_i* aPrs = CreateMesh(this, anIO, aViewWindow);
+  aViewWindow->highlight(anIO, 1);
   if (aPrs)
     emit presentationCreated(aPrs);
 }
@@ -721,6 +722,7 @@ VisuGUI
 
     // create mesh presentation and display it in aViewWindow
     VISU::Mesh_i* aPrs = CreateMesh(this, anIO, aViewWindow);
+    aViewWindow->highlight(anIO, 1);
     if (aPrs)
       emit presentationCreated(aPrs);
   }