]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
[PythonAPI] Fix error in defaultPlane() for XOZ
authorspo <sergey.pokhodenko@opencascade.com>
Wed, 16 Dec 2015 08:34:24 +0000 (11:34 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Thu, 17 Dec 2015 11:53:06 +0000 (14:53 +0300)
src/PythonAPI/model/services.py

index 962087bcfa7acf8a0a4e214fe13011c6bb3a5ced..b978bd0255f496e2bf6b956f9c941b3bbd8fa918 100644 (file)
@@ -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)