]> 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>
Tue, 24 Jun 2014 14:13:10 +0000 (18:13 +0400)
committernds <natalia.donis@opencascade.com>
Tue, 24 Jun 2014 14:13:10 +0000 (18:13 +0400)
Use the previous operation to create radius and length.

src/PartSet/PartSet_OperationFeatureCreate.cpp

index ada0fdf35d619432ee9afd71aa63130b447d485e..a45a854191fea0e8216c70799919786d8029adfa 100644 (file)
@@ -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