]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
refs #80 - Sketch base GUI: create/draw point, circle and arc
authornds <natalia.donis@opencascade.com>
Wed, 25 Jun 2014 17:00:13 +0000 (21:00 +0400)
committernds <natalia.donis@opencascade.com>
Wed, 25 Jun 2014 17:00:13 +0000 (21:00 +0400)
1. Comment about OCC bug for edit constraint objects after their selection(bug is 25034).

src/PartSet/PartSet_OperationSketch.cpp
src/PartSet/PartSet_OperationSketch.h

index b5400edec911f671fd3464751e51d7db8941347d..9336b634a4450a117978634232d0a9200d43367a 100644 (file)
@@ -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)
index 7c078bf6399a02d2c4705bed866d2e2d89a17740..27c0d8641db489ef85cde4dce263e84cc9f3386b 100644 (file)
@@ -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<XGUI_ViewerPrs> myFeatures; ///< the features to apply the edit operation
 };