mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 18:20:35 +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))
|
if(!myGeomBase->GetTopoFromSelection(mySelection, S))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if(myConstructorId == 1) {
|
||||||
|
if(S.ShapeType() > TopAbs_EDGE)
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else if(myConstructorId == 2) {
|
||||||
|
if(S.ShapeType() > TopAbs_FACE)
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if(myEditCurrentArgument == Group1->LineEdit1) {
|
if(myEditCurrentArgument == Group1->LineEdit1) {
|
||||||
myShape1 = S;
|
myShape1 = S;
|
||||||
myGeomShape1 = myGeomBase->ConvertIOinGEOMShape(IO, testResult);
|
myGeomShape1 = myGeomBase->ConvertIOinGEOMShape(IO, testResult);
|
||||||
|
Loading…
Reference in New Issue
Block a user