From: nds Date: Wed, 25 Jun 2014 17:00:13 +0000 (+0400) Subject: refs #80 - Sketch base GUI: create/draw point, circle and arc X-Git-Tag: V_0.4.4~232 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6a373c777251a6790d2736f45bb6a8827b670c61;p=modules%2Fshaper.git refs #80 - Sketch base GUI: create/draw point, circle and arc 1. Comment about OCC bug for edit constraint objects after their selection(bug is 25034). --- diff --git a/src/PartSet/PartSet_OperationSketch.cpp b/src/PartSet/PartSet_OperationSketch.cpp index b5400edec..9336b634a 100644 --- a/src/PartSet/PartSet_OperationSketch.cpp +++ b/src/PartSet/PartSet_OperationSketch.cpp @@ -112,6 +112,10 @@ void PartSet_OperationSketch::mouseReleased(QMouseEvent* theEvent, Handle_V3d_Vi if (!hasSketchPlane()) { } else { + /// TODO: OCC bug: 25034 - the highlighted list should be filled not only for AIS_Shape + /// but for other IO, for example constraint dimensions. + /// It is empty and we have to use the process mouse release to start edition operation + /// for these objects if (theSelected.size() == 1) { FeaturePtr aFeature = theSelected.front().feature(); if (aFeature) diff --git a/src/PartSet/PartSet_OperationSketch.h b/src/PartSet/PartSet_OperationSketch.h index 7c078bf63..27c0d8641 100644 --- a/src/PartSet/PartSet_OperationSketch.h +++ b/src/PartSet/PartSet_OperationSketch.h @@ -109,10 +109,6 @@ protected: /// \param theShape the shape void setSketchPlane(const TopoDS_Shape& theShape); - /// Returns the operation type, which is feature or constraint edit opeation - /// \param theFeature a feature instance - std::string getOperationType(FeaturePtr theFeature); - private: std::list myFeatures; ///< the features to apply the edit operation };