]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Apply the coding style rules
authormpv <mikhail.ponikarov@opencascade.com>
Tue, 23 Jun 2020 13:55:51 +0000 (16:55 +0300)
committermpv <mikhail.ponikarov@opencascade.com>
Tue, 23 Jun 2020 13:55:51 +0000 (16:55 +0300)
src/Model/Model_Update.cpp

index 234deceea924d757242c439fa8109fa0516e4afa..bd9c7bfdad39d8b92a2e3ee80ea925be6c1dae71 100644 (file)
@@ -904,7 +904,8 @@ void Model_Update::updateArguments(FeaturePtr theFeature) {
       bool isObligatory = aFactory->isCase(theFeature, theFeature->data()->id(aSel));
       if (isObligatory)
         aState = ModelAPI_StateInvalidArgument;
-    } else if (theFeature->getKind() == "Sketch" && aSel->id() == "External" && aSel->isInitialized()) {
+    } else if (theFeature->getKind() == "Sketch" && aSel->id() == "External" &&
+               aSel->isInitialized()) {
       // #19703 : if sketch plane was selected, but after context disappears, it must become invalid
       aSel->update();
       if (aSel->isInvalid()) {