+ on rename of contraint make sure that new name is different, on swap constraint names make sure they have user-defined names
This commit is contained in:
@@ -386,7 +386,7 @@ bool PropertyConstraintList::scanGeometry(const std::vector<Part::Geometry *> &G
|
||||
|
||||
string PropertyConstraintList::getConstraintName(const std::string & name, int i)
|
||||
{
|
||||
if (name != "")
|
||||
if (!name.empty())
|
||||
return name;
|
||||
else
|
||||
return getConstraintName(i);
|
||||
|
||||
Reference in New Issue
Block a user