From 948ec03492f0e0c32422a49b8a739bb5a5be2356 Mon Sep 17 00:00:00 2001 From: Eric Trombly Date: Mon, 30 Mar 2020 11:31:59 -0500 Subject: [PATCH] visual studio doesn't like indexing facets with [, changed to ( --- src/Mod/Path/App/AppPathPy.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Mod/Path/App/AppPathPy.cpp b/src/Mod/Path/App/AppPathPy.cpp index bc34de944c..5948028288 100644 --- a/src/Mod/Path/App/AppPathPy.cpp +++ b/src/Mod/Path/App/AppPathPy.cpp @@ -166,10 +166,10 @@ private: auto triangles = facets->Triangles(); for(int i = 1; i <= triangles.Length(); i++){ Standard_Integer n1,n2,n3; - triangles[i].Get(n1, n2, n3); - gp_Pnt p1 = nodes[n1]; - gp_Pnt p2 = nodes[n2]; - gp_Pnt p3 = nodes[n3]; + triangles(i).Get(n1, n2, n3); + gp_Pnt p1 = nodes(n1); + gp_Pnt p2 = nodes(n2); + gp_Pnt p3 = nodes(n3); p1.Transform(loc.Transformation()); p2.Transform(loc.Transformation()); p3.Transform(loc.Transformation());