From: nds Date: Wed, 24 Jan 2018 06:38:24 +0000 (+0300) Subject: Issue #2420 Invalid sketch after creation second circle (reentrant operation) Jenkins... X-Git-Tag: V_3.0.0RC1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=14c06d89594cd1f1c15ef5493aebf20a03ecaa89;p=modules%2Fshaper.git Issue #2420 Invalid sketch after creation second circle (reentrant operation) Jenkins: correction line width. --- diff --git a/src/PartSet/PartSet_SketcherReentrantMgr.cpp b/src/PartSet/PartSet_SketcherReentrantMgr.cpp index 6fbeaa5d1..839da3fa0 100644 --- a/src/PartSet/PartSet_SketcherReentrantMgr.cpp +++ b/src/PartSet/PartSet_SketcherReentrantMgr.cpp @@ -264,8 +264,9 @@ bool PartSet_SketcherReentrantMgr::processMouseReleased(ModuleBase_IViewWindow* if (aPointWidget) { GeomShapePtr aShape; aPointWidget->getGeomSelection_(aValue, mySelectedObject, aShape); - ObjectPtr anExternalObject = aPointWidget->getExternalObjectMgr()->getExternalObjectValidated(); - // if external object has been created before staring new operation and is used as a parameter, + ObjectPtr anExternalObject = + aPointWidget->getExternalObjectMgr()->getExternalObjectValidated(); + // if external object is during reentrant operation and is used as a parameter of feature // it should be removed after the operation is restarted. (Circle feature, Projection) if (anExternalObject.get()) anExternalCreatedFeature = ModelAPI_Feature::feature(anExternalObject);