1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-21 10:13:43 +03:00

0026232: Multithreaded crash in IntAna_Int3Pln::Perform due to statics

"Static" keyword removed from local variable declarations in IntAna_Int3Pln::Perform()
This commit is contained in:
abv 2015-05-19 07:10:35 +03:00
parent f0ab769c94
commit f8fdf72ad2

View File

@ -38,8 +38,8 @@ void IntAna_Int3Pln::Perform (const gp_Pln& P1, const gp_Pln& P2,
const gp_Pln& P3) { const gp_Pln& P3) {
done=Standard_False; done=Standard_False;
static math_Matrix M(1,3,1,3); math_Matrix M(1,3,1,3);
static math_Vector V(1,3); math_Vector V(1,3);
P1.Coefficients(M(1,1),M(1,2),M(1,3),V(1)); P1.Coefficients(M(1,1),M(1,2),M(1,3),V(1));
P2.Coefficients(M(2,1),M(2,2),M(2,3),V(2)); P2.Coefficients(M(2,1),M(2,2),M(2,3),V(2));