From a689c0543f00001bacb17267b0d8f16b3b713391 Mon Sep 17 00:00:00 2001 From: spo Date: Wed, 16 Dec 2015 11:34:24 +0300 Subject: [PATCH] [PythonAPI] Fix error in defaultPlane() for XOZ --- src/PythonAPI/model/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2