Skip to content

Commit

Permalink
Merge branch 'patcher' of github.com:BillXu2000/taichi into patcher
Browse files Browse the repository at this point in the history
  • Loading branch information
BillXu2000 committed Apr 22, 2022
2 parents 8fb5660 + 4e4488c commit bd4da6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/taichi/lang/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,8 @@ def update_relation(tree, ctx):
name_to_order = {"verts": 0, "edges": 1, "faces": 2, "cells": 3}
for visit in x.visits:
if visit[1] in name_to_order and visit[2] in name_to_order:
visit[0].update_relation(name_to_order[visit[1]], name_to_order[visit[2]])
visit[0].update_relation(name_to_order[visit[1]],
name_to_order[visit[2]])


def TriMesh():
Expand Down

0 comments on commit bd4da6a

Please sign in to comment.