vt-vl-lab / 3d-photo-inpainting

[CVPR 2020] 3D Photography using Context-aware Layered Depth Inpainting
https://shihmengli.github.io/3D-Photo-Inpainting/
Other
6.91k stars 1.11k forks source link

In mesh.py typo on attribute #71

Closed Mulugruntz closed 4 years ago

Mulugruntz commented 4 years ago

On line https://github.com/vt-vl-lab/3d-photo-inpainting/blob/e6872a8/mesh.py#L764

mesh.node should be mesh.nodes, so

mesh = refresh_node(single_edge_node, mesh.node[single_edge_node], new_node, dict(), mesh)

should be replaced by

mesh = refresh_node(single_edge_node, mesh.nodes[single_edge_node], new_node, dict(), mesh)