From: spo Date: Wed, 16 Dec 2015 08:34:24 +0000 (+0300) Subject: [PythonAPI] Fix error in defaultPlane() for XOZ X-Git-Tag: V_2.1.0~162^2~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a689c0543f00001bacb17267b0d8f16b3b713391;p=modules%2Fshaper.git [PythonAPI] Fix error in defaultPlane() for XOZ --- diff --git a/src/PythonAPI/model/services.py b/src/PythonAPI/model/services.py index 962087bcf..b978bd025 100644 --- a/src/PythonAPI/model/services.py +++ b/src/PythonAPI/model/services.py @@ -37,7 +37,7 @@ def defaultPlane (name): n = GeomAPI.GeomAPI_Dir(0, 0, 1) x = GeomAPI.GeomAPI_Dir(1, 0, 0) elif name == "XOZ": - n = GeomAPI.GeomAPI_Dir(0, 1, 0) + n = GeomAPI.GeomAPI_Dir(0, -1, 0) x = GeomAPI.GeomAPI_Dir(1, 0, 0) elif name == "YOZ": n = GeomAPI.GeomAPI_Dir(1, 0, 0)