Skip to content

Commit f9c34f9

Browse files
author
liuxun
committed
fix: Fix Generate video from inpainted mesh, egl not work on apple silicon, pyqt6 works very well
1 parent 189e30a commit f9c34f9

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

install.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@
2929
if not launch.is_installed("pyqt5"):
3030
launch.run_pip("install pyqt5", "pyqt5 requirement for depthmap script")
3131

32+
if platform.system() == 'Darwin':
33+
if not launch.is_installed("pyqt6"):
34+
launch.run_pip("install pyqt6", "pyqt6 requirement for depthmap script")

scripts/depthmap.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,8 @@ def run_3dphoto_videos(mesh_fi, basename, outpath, num_frames, fps, crop_border,
724724

725725
if platform.system() == 'Windows':
726726
vispy.use(app='PyQt5')
727+
elif platform.system() == 'Darwin':
728+
vispy.use('PyQt6')
727729
else:
728730
vispy.use(app='egl')
729731

0 commit comments

Comments
 (0)