fixes #1782 remove unused precsion parameters

from gp_Trsf::SetValues
This commit is contained in:
Sebastian Hoogen
2014-10-10 22:27:08 +02:00
committed by wmayer
parent eb598ffd16
commit f1283cf24c
3 changed files with 21 additions and 8 deletions

View File

@@ -151,8 +151,11 @@ PyObject* GeometryPy::transform(PyObject *args)
gp_Trsf trf;
trf.SetValues(mat[0][0],mat[0][1],mat[0][2],mat[0][3],
mat[1][0],mat[1][1],mat[1][2],mat[1][3],
mat[2][0],mat[2][1],mat[2][2],mat[2][3],
0.00001,0.00001);
mat[2][0],mat[2][1],mat[2][2],mat[2][3]
#if OCC_VERSION_HEX < 0x060800
, 0.00001,0.00001
#endif
); //precision was removed in OCCT CR0025194
getGeometryPtr()->handle()->Transform(trf);
Py_Return;
}