Sketcher: fix external editing
This commit is contained in:
@@ -142,7 +142,7 @@ void CmdSketcherToggleConstruction::activated(int iMsg)
|
||||
if (it->size() > 4 && it->substr(0,4) == "Edge") {
|
||||
int GeoId = std::atoi(it->substr(4,4000).c_str()) - 1;
|
||||
// issue the actual commands to toggle
|
||||
FCMD_OBJ_CMD2("App.ActiveDocument.%s.toggleConstruction(%d) ",selection[0].getObject(),GeoId);
|
||||
FCMD_OBJ_CMD2("toggleConstruction(%d) ",selection[0].getObject(),GeoId);
|
||||
}
|
||||
}
|
||||
// finish the transaction and update
|
||||
|
||||
Reference in New Issue
Block a user