DCQ : Debug

This commit is contained in:
dcq 2004-03-16 15:22:03 +00:00
parent 70b5836bff
commit 0edc865f97

View File

@ -270,6 +270,15 @@ void TransformationGUI_PositionDlg::SelectionIntoArgument()
if(!myGeomBase->GetTopoFromSelection(mySelection, S))
return;
if(myConstructorId == 1) {
if(S.ShapeType() > TopAbs_EDGE)
return;
}
else if(myConstructorId == 2) {
if(S.ShapeType() > TopAbs_FACE)
return;
}
if(myEditCurrentArgument == Group1->LineEdit1) {
myShape1 = S;
myGeomShape1 = myGeomBase->ConvertIOinGEOMShape(IO, testResult);