Salome HOME
Porting to OCCT 7.4.1dev
[modules/geom.git] / src / CurveCreator / CurveCreator_Widget.cxx
index 0415f860f717ae3d00c868974a5251b87db14694..e5af5cdbe4c5de822c788e12f1064dc5910e8360 100644 (file)
@@ -1522,11 +1522,7 @@ void CurveCreator_Widget::setSelectedPoints( const CurveCreator_ICurve::SectionT
   if ( myDragStarted )
     return;
   Handle(AIS_InteractiveContext) aContext = getAISContext();
-  if ( aContext.IsNull() 
-#if OCC_VERSION_LARGE <= 0x07030000
-       || !aContext->HasOpenedContext() 
-#endif       
-     )
+  if ( aContext.IsNull() )
     return;
 
   CurveCreator_Utils::setSelectedPoints( aContext, myCurve, thePoints );