mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Fixed compile from file list issue
This commit is contained in:
parent
fc7d67e25f
commit
748ca4e0f1
1 changed files with 2 additions and 4 deletions
|
@ -788,8 +788,7 @@ class Scene(Container):
|
||||||
for pf_path in partial_movie_files:
|
for pf_path in partial_movie_files:
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
pf_path = pf_path.replace('\\', '/')
|
pf_path = pf_path.replace('\\', '/')
|
||||||
|
fp.write("file \'{}\'\n".format(pf_path))
|
||||||
fp.write("file {}\n".format(pf_path))
|
|
||||||
|
|
||||||
movie_file_path = self.get_movie_file_path()
|
movie_file_path = self.get_movie_file_path()
|
||||||
commands = [
|
commands = [
|
||||||
|
@ -807,8 +806,7 @@ class Scene(Container):
|
||||||
|
|
||||||
combine_process = subprocess.Popen(commands)
|
combine_process = subprocess.Popen(commands)
|
||||||
combine_process.wait()
|
combine_process.wait()
|
||||||
os.remove(file_list)
|
# os.remove(file_list)
|
||||||
print("File ready at {}".format(movie_file_path))
|
|
||||||
|
|
||||||
if self.includes_sound:
|
if self.includes_sound:
|
||||||
sound_file_path = movie_file_path.replace(
|
sound_file_path = movie_file_path.replace(
|
||||||
|
|
Loading…
Add table
Reference in a new issue