From: nds Date: Tue, 24 Jun 2014 14:13:10 +0000 (+0400) Subject: refs #80 - Sketch base GUI: create/draw point, circle and arc X-Git-Tag: V_0.4.4~253 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c10771b81e800bf6518f05613ca340149c2a0e93;p=modules%2Fshaper.git refs #80 - Sketch base GUI: create/draw point, circle and arc Use the previous operation to create radius and length. --- diff --git a/src/PartSet/PartSet_OperationFeatureCreate.cpp b/src/PartSet/PartSet_OperationFeatureCreate.cpp index ada0fdf35..a45a85419 100644 --- a/src/PartSet/PartSet_OperationFeatureCreate.cpp +++ b/src/PartSet/PartSet_OperationFeatureCreate.cpp @@ -61,11 +61,11 @@ bool PartSet_OperationFeatureCreate::canProcessKind(const std::string& theId) return theId == SKETCH_LINE_KIND || theId == SKETCH_POINT_KIND || theId == SKETCH_CIRCLE_KIND /*|| theId == SKETCH_ARC_KIND*/ || - theId == SKETCH_CONSTRAINT_DISTANCE_KIND || + theId == SKETCH_CONSTRAINT_DISTANCE_KIND /*|| theId == SKETCH_CONSTRAINT_LENGTH_KIND || theId == SKETCH_CONSTRAINT_RADIUS_KIND || theId == SKETCH_CONSTRAINT_PARALLEL_KIND || - theId == SKETCH_CONSTRAINT_PERPENDICULAR_KIND; + theId == SKETCH_CONSTRAINT_PERPENDICULAR_KIND*/; } bool PartSet_OperationFeatureCreate::canBeCommitted() const