Sketcher/Toponaming: call SketchObject::convertSubName() in ViewProviderSketch::addSelection2()
This commit is contained in:
@@ -3875,7 +3875,12 @@ bool ViewProviderSketch::addSelection(const std::string& subNameSuffix, float x,
|
||||
bool ViewProviderSketch::addSelection2(const std::string& subNameSuffix, float x, float y, float z)
|
||||
{
|
||||
return Gui::Selection().addSelection2(
|
||||
editDocName.c_str(), editObjName.c_str(), (editSubName + subNameSuffix).c_str(), x, y, z);
|
||||
editDocName.c_str(),
|
||||
editObjName.c_str(),
|
||||
(editSubName + getSketchObject()->convertSubName(subNameSuffix)).c_str(),
|
||||
x,
|
||||
y,
|
||||
z);
|
||||
}
|
||||
|
||||
bool ViewProviderSketch::setPreselect(const std::string& subNameSuffix, float x, float y, float z)
|
||||
|
||||
Reference in New Issue
Block a user