Salome HOME
#18963 Minimize compiler warnings
[modules/geom.git] / src / TransformationGUI / TransformationGUI_ScaleDlg.cxx
index 4d2dfa24c5c3619a3dca219d5624ed909b35a2c8..06ef756ae8bc774ad4155eb775f5c5d107dc35e7 100644 (file)
@@ -466,7 +466,7 @@ bool TransformationGUI_ScaleDlg::execute (ObjectList& objects)
         {
           anObj = anOper->ScaleShapeAlongAxesCopy(myObjects[i].get(), myPoint.get(), SpinBox_FX->value(),
                                                   SpinBox_FY->value(), SpinBox_FZ->value());
-          if (!anObj->_is_nil())
+          if (!anObj->_is_nil()) {
             if(!IsPreview()) {
               QStringList aParameters;
               aParameters<<SpinBox_FX->text();
@@ -475,6 +475,7 @@ bool TransformationGUI_ScaleDlg::execute (ObjectList& objects)
               anObj->SetParameters(aParameters.join(":").toUtf8().constData());
             }
             objects.push_back(anObj._retn());
+          }
         }
       }
       else