PartDesign: Chamfer/fillet/draft/thickness small fixes.

This commit is contained in:
Paddle
2023-03-28 13:30:13 +02:00
parent ea463a6a53
commit f116e83d9d
6 changed files with 7 additions and 7 deletions

View File

@@ -1766,7 +1766,7 @@ void CmdPartDesignDraft::activated(int iMsg)
size_t i = 0;
while (i < SubNames.size())
{
std::string aSubName = static_cast<std::string>(SubNames.at(i));
std::string aSubName = SubNames.at(i);
if (aSubName.compare(0, 4, "Face") == 0) {
// Check for valid face types
@@ -1833,7 +1833,7 @@ void CmdPartDesignThickness::activated(int iMsg)
size_t i = 0;
while (i < SubNames.size())
{
std::string aSubName = static_cast<std::string>(SubNames.at(i));
std::string aSubName = SubNames.at(i);
if (aSubName.compare(0, 4, "Face") != 0) {
// empty name or any other sub-element