From 6a373c777251a6790d2736f45bb6a8827b670c61 Mon Sep 17 00:00:00 2001 From: nds Date: Wed, 25 Jun 2014 21:00:13 +0400 Subject: [PATCH] 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). --- src/PartSet/PartSet_OperationSketch.cpp | 4 ++++ src/PartSet/PartSet_OperationSketch.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) 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 }; -- 2.39.2