Salome HOME
INT PAL 0052642: Notebook variables are not dumped to script with Fillet1D, Fillet2D...
[modules/geom.git] / src / GenerationGUI / GenerationGUI_PrismDlg.cxx
index ecdfae3fa08e6652163648fdb02c64440a05921e..e2de726115184b83f83793e7a82e14f313b4ccc1 100644 (file)
@@ -717,15 +717,15 @@ bool GenerationGUI_PrismDlg::execute (ObjectList& objects)
     if(GroupThickening->checkButton1->isChecked())
     { 
       double aThickness = GroupThickening->SpinBox_DX->value();
-      if (GroupThickening->checkButton2->isChecked())
-      {
-        aThickness = -aThickness;  
-      }
+      bool isInside = GroupThickening->checkButton2->isChecked();
 
       GEOM::ListOfLong_var anArray = new GEOM::ListOfLong;
 
       anObj = anotherOper->MakeThickening
-        (anObj, anArray, aThickness, /*copy=*/false);    
+        (anObj, anArray, aThickness, /*copy=*/false, isInside);
+
+      if (!anObj->_is_nil() && !IsPreview())
+        anObj->SetParameters(GroupThickening->SpinBox_DX->text().toUtf8().constData());
     }
     
     if (!anObj->_is_nil())