From: Clarisse Genrault Date: Thu, 26 Jan 2017 07:04:33 +0000 (+0100) Subject: Debugging Translation feature. X-Git-Tag: V_2.7.0~302^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9dc1fc2ff6f4143369cdb2042a5e01e8e737c635;p=modules%2Fshaper.git Debugging Translation feature. --- diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_Translation.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_Translation.cpp index 574b63d23..55ed0e89c 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_Translation.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_Translation.cpp @@ -128,7 +128,7 @@ void GeomAlgoAPI_Translation::build() // Transform the shape while copying it. BRepBuilderAPI_Transform* aBuilder = new BRepBuilderAPI_Transform(aSourceShape, *aTrsf, true); if(!aBuilder) { - myError = "Translation builder :: source shape does not contain any actual shape."; + myError = "Translation builder :: transform initialization failed."; return; } @@ -136,7 +136,7 @@ void GeomAlgoAPI_Translation::build() setBuilderType(OCCT_BRepBuilderAPI_MakeShape); if(!aBuilder->IsDone()) { - myError = "Translation builder :: source shape does not contain any actual shape."; + myError = "Translation builder :: algorithm failed."; return; }