From c10771b81e800bf6518f05613ca340149c2a0e93 Mon Sep 17 00:00:00 2001 From: nds Date: Tue, 24 Jun 2014 18:13:10 +0400 Subject: [PATCH] refs #80 - Sketch base GUI: create/draw point, circle and arc Use the previous operation to create radius and length. --- src/PartSet/PartSet_OperationFeatureCreate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2