mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-25 08:50:36 +05:00
DCQ : Debug
This commit is contained in:
parent
70b5836bff
commit
0edc865f97
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user