void PartSet_Module::updateConstraintsState(const std::string& theFeatureKind)
{
- if (PartSet_SketcherMgr::constraintsIdList().contains(theFeatureKind.c_str())) {
+ if (PartSet_SketcherMgr::constraintsIdList().contains(theFeatureKind.c_str()) ||
+ PartSet_SketcherMgr::replicationsIdList().contains(theFeatureKind.c_str())) {
// Show constraints if a constraint was anOperation
mySketchMgr->updateBySketchParameters(PartSet_Tools::Geometrical, true);
mySketchMgr->updateBySketchParameters(PartSet_Tools::Dimensional, true);
bool aSwitchedOn = true;
const QStringList& aConstrIds = constraintsIdList();
+ const QStringList& aReplicationIds = replicationsIdList();
std::string aKind = theFeature->getKind();
- if (aConstrIds.contains(QString(aKind.c_str()))) {
+ if (aConstrIds.contains(aKind.c_str()) ||
+ aReplicationIds.contains(aKind.c_str())) {
bool isTypedConstraint = false;
switch (theState) {