]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix bug on error messages of rotation.
authorClarisse Genrault <clarisse.genrault@cea.fr>
Thu, 9 Mar 2017 07:43:02 +0000 (08:43 +0100)
committerClarisse Genrault <clarisse.genrault@cea.fr>
Thu, 9 Mar 2017 07:43:02 +0000 (08:43 +0100)
src/FeaturesPlugin/rotation_widget.xml
src/GeomAlgoAPI/GeomAlgoAPI_Rotation.cpp

index 1d94eea3caf68a91ab30ce8a060c1482aaac61c3..9508b57ce819fc41d9016f913322032f8e491041 100755 (executable)
@@ -24,8 +24,6 @@
       </shape_selector>
       <doublevalue id="angle"
                    label="Angle"
-                   min="-360"
-                   max="360"
                    step="1.0"
                    default="0"
                    icon="icons/Features/angle.png"
index e3d52db32f8cf90fe908ad3ba76f917f96fda9f9..9af02de5f233199b99cb79fd6f695a3a62c7c9f9 100644 (file)
@@ -78,7 +78,7 @@ bool GeomAlgoAPI_Rotation::check()
         return false;
       }
       if (!mySourceShape) {
-        myError = "Rotation builder :: source shape is invalid.";
+        myError = "Rotation builder :: source shape is not valid.";
         return false;
       }
       if(myCenterPoint->distance(myStartPoint) < Precision::Confusion()) {