]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Split too long line
authorazv <azv@opencascade.com>
Mon, 9 Sep 2019 13:43:41 +0000 (16:43 +0300)
committerazv <azv@opencascade.com>
Mon, 9 Sep 2019 13:43:41 +0000 (16:43 +0300)
src/SketchPlugin/SketchPlugin_Validators.cpp

index 4ec13cbc7c60557a831afb02da8889f1340d29d2..c248e7dc77cedef2630bf21aa76b94079b3bf0fc 100644 (file)
@@ -854,7 +854,8 @@ bool SketchPlugin_ArcTransversalPointValidator::isValid(
   }
   FeaturePtr anOwner = std::dynamic_pointer_cast<ModelAPI_Feature>(theAttribute->owner());
   AttributeStringPtr anArcTypeAttr = anOwner->string(SketchPlugin_MacroArc::ARC_TYPE());
-  if (anArcTypeAttr && anArcTypeAttr->value() != SketchPlugin_MacroArc::ARC_TYPE_BY_TRANSVERSAL_LINE())
+  if (anArcTypeAttr &&
+      anArcTypeAttr->value() != SketchPlugin_MacroArc::ARC_TYPE_BY_TRANSVERSAL_LINE())
     return true; // not applicable for non-transversal arcs
 
   AttributeRefAttrPtr aRefAttr = std::dynamic_pointer_cast<ModelAPI_AttributeRefAttr>(theAttribute);