]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
OCC-7.4-porting-for-CurveCreator_Widget
authorYOANN AUDOUIN <B61570@dsp0919998.atlas.edf.fr>
Fri, 5 Feb 2021 09:21:35 +0000 (10:21 +0100)
committerYOANN AUDOUIN <B61570@dsp0919998.atlas.edf.fr>
Thu, 4 Mar 2021 09:54:04 +0000 (10:54 +0100)
src/CurveCreator/CurveCreator_Widget.cxx

index c2f409ed9758e8104ca4ccbd54e5eb8112cef858..fa7a6b6475f43c70281b80ebc35386375ad92c0e 100644 (file)
@@ -1186,12 +1186,16 @@ void CurveCreator_Widget::onMouseRelease( SUIT_ViewWindow* theWindow, QMouseEven
             filter->AddShape(exp.Current());
         }
         aCtx->AddFilter(filter);
+#if OCC_VERSION_LARGE <= 0x07030000
         if (aCtx->HasOpenedContext())
         {
           Handle(AIS_LocalContext) aLctx = aCtx->LocalContext();
           aLctx->Filter()->Clear();
           aLctx->AddFilter(filter);
         }
+#else
+        // TODO: check if something required
+#endif
       //}
 
       // Initialize the single selection if start and end points are equal,