]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #580: Disable Rotation, Translation of sketch when sketch plane is not selected.
authorvsv <vitaly.smetannikov@opencascade.com>
Fri, 29 May 2015 08:43:17 +0000 (11:43 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Fri, 29 May 2015 08:43:27 +0000 (11:43 +0300)
src/SketchPlugin/SketchPlugin_Plugin.cpp

index 904fe1e2200957c9fc4a255efc923214e7844e1a..59d20c38d5fa4a6724eb26f345179a4ccfe12707 100644 (file)
@@ -189,6 +189,8 @@ std::shared_ptr<ModelAPI_FeatureStateMessage> SketchPlugin_Plugin
       aMsg->setState(SketchPlugin_ConstraintTangent::ID(), aHasSketchPlane);
       aMsg->setState(SketchPlugin_ConstraintMirror::ID(), aHasSketchPlane);
       aMsg->setState(SketchPlugin_ConstraintFillet::ID(), aHasSketchPlane);
+      aMsg->setState(SketchPlugin_MultiRotation::ID(), aHasSketchPlane);
+      aMsg->setState(SketchPlugin_MultiTranslation::ID(), aHasSketchPlane);
     }
   }
   return aMsg;