]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
*** empty log message ***
authorvsv <vsv@opencascade.com>
Thu, 19 Jun 2008 13:10:01 +0000 (13:10 +0000)
committervsv <vsv@opencascade.com>
Thu, 19 Jun 2008 13:10:01 +0000 (13:10 +0000)
src/VISUGUI/VisuGUI_Prs3dTools.h

index 570a96e07eb0b12d281c5a928f06c779348c3362..5112c0973f19785ba52ac7367f146da63314b49b 100644 (file)
@@ -311,7 +311,9 @@ namespace VISU
       return;
 
     if(aPublishInStudyMode == VISU::ColoredPrs3d_i::EPublishIndependently){
-      CreatePrs3dInViewer<TPrs3d_i,VVTK_Viewer,TDlg,0>
+      //      CreatePrs3dInViewer<TPrs3d_i,VVTK_Viewer,TDlg,0>
+      //       (theModule,aTimeStampSObj,aPublishInStudyMode);
+      CreatePrs3dInViewer<TPrs3d_i,SVTK_Viewer,TDlg,0>
        (theModule,aTimeStampSObj,aPublishInStudyMode);
       return;
     }else{
@@ -325,12 +327,13 @@ namespace VISU
        CreatePrs3dInViewer<TPrs3d_i,SVTK_Viewer,TDlg,IsDlgModal>
          (theModule,aTimeStampSObj,aPublishInStudyMode);
       }else{
-       if(theDesiredViewerType == VVTK_Viewer::Type())
+       if(theDesiredViewerType == VVTK_Viewer::Type()) {
          CreatePrs3dInViewer<TPrs3d_i,VVTK_Viewer,TDlg,IsDlgModal>
            (theModule,aTimeStampSObj,aPublishInStudyMode);
-       else
+       } else {
          CreatePrs3dInViewer<TPrs3d_i,SVTK_Viewer,TDlg,IsDlgModal>
            (theModule,aTimeStampSObj,aPublishInStudyMode);
+       }
       }
     }
   }