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:
parent
cd9488daf7
commit
bbbefaf188
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user