Skip to content

Commit

Permalink
just for test
Browse files Browse the repository at this point in the history
  • Loading branch information
dpasukhi committed Aug 25, 2024
1 parent f1a0431 commit 6eafd00
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clang-tidy-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
mkdir clang-tidy-result
- name: Analyze
run: |
echo git diff -U0 "$(git merge-base HEAD "upstream/${{ github.event.pull_request.base.ref }}")"
git diff -U0 "$(git merge-base HEAD "upstream/${{ github.event.pull_request.base.ref }}")"
git diff -U0 "$(git merge-base HEAD "upstream/${{ github.event.pull_request.base.ref }}")" | clang-tidy-diff -p1 -path build -export-fixes clang-tidy-result/fixes.yml
- name: Save PR metadata
run: |
Expand Down
8 changes: 0 additions & 8 deletions src/BRepToIGESBRep/BRepToIGESBRep_Entity.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,6 @@ void BRepToIGESBRep_Entity::TransferVertexList()
Standard_Real Unit = GetUnit();
Standard_Real X,Y,Z;

for (Standard_Integer ivertex = 1; ivertex <= nbvertices; ivertex++) {
TopoDS_Shape myshape = myVertices(ivertex);
TopoDS_Vertex myvertex = TopoDS::Vertex(myshape);
gp_Pnt Point = BRep_Tool::Pnt(myvertex);
Point.Coord(X,Y,Z);
vertices->SetValue(ivertex, gp_XYZ(X/Unit,Y/Unit,Z/Unit));
}

myVertexList->Init(vertices);
}

Expand Down

0 comments on commit 6eafd00

Please sign in to comment.