]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Sketch should stop contour in origin point if the contour is closed.
authornds <nds@opencascade.com>
Mon, 28 Dec 2015 11:01:25 +0000 (14:01 +0300)
committernds <nds@opencascade.com>
Mon, 28 Dec 2015 11:01:55 +0000 (14:01 +0300)
Scenario:
1. Start sketch creation in Origin
2. Create contour
3. Finish the contour in Origin.
The line creation operation should stop.

src/PartSet/PartSet_WidgetPoint2d.h

index 6985ffa4efb7684210fe4116c0bcf21346ab223b..77e286ab2b72f403862e9427028b9009c2fae801 100755 (executable)
@@ -168,7 +168,7 @@ protected:
    /// \param theY an Y coordinate of the point
    /// \return boolean result
    static bool isOrphanPoint(const FeaturePtr& theFeature, const CompositeFeaturePtr& theSketch,
-                             double theX, double theY);
+                             double theX, double theY, const bool theSearchInResults = false);
 
 protected:
   ModuleBase_IWorkshop* myWorkshop; ///< workshop