mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-07 05:34:17 +05:00
Updated for PAL11539.
This commit is contained in:
parent
6001bdbaa6
commit
647f5d3b2b
@ -638,7 +638,8 @@ Handle(GEOM_Object) GEOMImpl_I3DPrimOperations::MakePrismVecH (Handle(GEOM_Objec
|
|||||||
//Compute the Prism value
|
//Compute the Prism value
|
||||||
try {
|
try {
|
||||||
if (!GetSolver()->ComputeFunction(aFunction)) {
|
if (!GetSolver()->ComputeFunction(aFunction)) {
|
||||||
SetErrorCode("Prism driver failed");
|
//SetErrorCode("Prism driver failed");
|
||||||
|
SetErrorCode("Extrusion can not be created, check input data");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -695,7 +696,8 @@ Handle(GEOM_Object) GEOMImpl_I3DPrimOperations::MakePrismTwoPnt
|
|||||||
//Compute the Prism value
|
//Compute the Prism value
|
||||||
try {
|
try {
|
||||||
if (!GetSolver()->ComputeFunction(aFunction)) {
|
if (!GetSolver()->ComputeFunction(aFunction)) {
|
||||||
SetErrorCode("Prism driver failed");
|
//SetErrorCode("Prism driver failed");
|
||||||
|
SetErrorCode("Extrusion can not be created, check input data");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -195,6 +195,15 @@ void GenerationGUI_PrismDlg::ConstructorsClicked(int constructorId)
|
|||||||
//myEditCurrentArgument = GroupPoints->LineEdit1;
|
//myEditCurrentArgument = GroupPoints->LineEdit1;
|
||||||
//displayPreview();
|
//displayPreview();
|
||||||
|
|
||||||
|
myEditCurrentArgument = GroupPoints->LineEdit1;
|
||||||
|
GroupPoints->LineEdit1->setText("");
|
||||||
|
GroupPoints->LineEdit2->setText("");
|
||||||
|
GroupPoints2->LineEdit1->setText("");
|
||||||
|
GroupPoints2->LineEdit2->setText("");
|
||||||
|
GroupPoints2->LineEdit3->setText("");
|
||||||
|
myPoint1 = myPoint2 = myBase = myVec = GEOM::GEOM_Object::_nil();
|
||||||
|
myOkBase = myOkVec = myOkPnt1 = myOkPnt2 = false;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 1:
|
case 1:
|
||||||
@ -207,7 +216,10 @@ void GenerationGUI_PrismDlg::ConstructorsClicked(int constructorId)
|
|||||||
GroupPoints2->LineEdit1->setText("");
|
GroupPoints2->LineEdit1->setText("");
|
||||||
GroupPoints2->LineEdit2->setText("");
|
GroupPoints2->LineEdit2->setText("");
|
||||||
GroupPoints2->LineEdit3->setText("");
|
GroupPoints2->LineEdit3->setText("");
|
||||||
myPoint1 = myPoint2 = GEOM::GEOM_Object::_nil();
|
myPoint1 = myPoint2 = myBase = myVec = GEOM::GEOM_Object::_nil();
|
||||||
|
myOkBase = myOkVec = myOkPnt1 = myOkPnt2 = false;
|
||||||
|
GroupPoints->LineEdit1->setText("");
|
||||||
|
GroupPoints->LineEdit2->setText("");
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user