From: vsv Date: Fri, 29 May 2015 08:43:17 +0000 (+0300) Subject: Issue #580: Disable Rotation, Translation of sketch when sketch plane is not selected. X-Git-Tag: V_1.2.0~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8897a9e7f43e742cd19608f87ff6a34a5261e157;p=modules%2Fshaper.git Issue #580: Disable Rotation, Translation of sketch when sketch plane is not selected. --- diff --git a/src/SketchPlugin/SketchPlugin_Plugin.cpp b/src/SketchPlugin/SketchPlugin_Plugin.cpp index 904fe1e22..59d20c38d 100644 --- a/src/SketchPlugin/SketchPlugin_Plugin.cpp +++ b/src/SketchPlugin/SketchPlugin_Plugin.cpp @@ -189,6 +189,8 @@ std::shared_ptr 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;