Mod/Sketcher: suppress warning

Warning was:
src/Mod/Sketcher/Gui/CommandConstraints.cpp|1031 col 28| warning: '&&' within '||' [-Wlogical-op-parentheses]
This commit is contained in:
Alexander Golubev 2015-05-18 07:45:43 +03:00 committed by wmayer
parent cd9488daf7
commit bbbefaf188

View File

@ -1168,8 +1168,8 @@ void CmdSketcherConstrainPointOnObject::activated(int iMsg)
points.push_back(id);
}
if (points.size() == 1 && curves.size() >= 1 ||
points.size() >= 1 && curves.size() == 1) {
if ((points.size() == 1 && curves.size() >= 1) ||
(points.size() >= 1 && curves.size() == 1)) {
openCommand("add point on object constraint");
int cnt = 0;