Path.Area: fixed missing brace

This commit is contained in:
Zheng, Lei
2017-03-09 12:20:53 +08:00
committed by wmayer
parent 73649495e6
commit 5dda63ac3e

View File

@@ -1692,9 +1692,10 @@ static void addCommand(Toolpath &path, const gp_Pnt &p,
path.addCommand(cmd);
cmd.Name = "G1";
}
}else
}else{
cmd.Parameters["X"] = p.X();
cmd.Parameters["Y"] = p.Y();
}
cmd.Parameters["Z"] = p.Z();
path.addCommand(cmd);
}