Skip to content

Commit 5250c8b

Browse files
committed
Maybe fixes #381
1 parent 4887a9c commit 5250c8b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/core.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,10 @@ def run_3dphoto_videos(mesh_fi, basename, outpath, num_frames, fps, crop_border,
506506
# read ply
507507
global video_mesh_data, video_mesh_fn
508508
if video_mesh_fn is None or video_mesh_fn != mesh_fi:
509-
del video_mesh_data
509+
try:
510+
del video_mesh_data
511+
except:
512+
print("del video_mesh_data failed")
510513
video_mesh_fn = mesh_fi
511514
video_mesh_data = read_mesh(mesh_fi)
512515

0 commit comments

Comments
 (0)