Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Remove borken save_as_gif lines

Grant Sanderson61bb4944fad2
diff --git a/manimlib/scene/scene_file_writer.py b/manimlib/scene/scene_file_writer.py
index 1817be680..46875e83b 100644
--- a/manimlib/scene/scene_file_writer.py
+++ b/manimlib/scene/scene_file_writer.py
@@ -313,18 +313,9 @@ class SceneFileWriter(object):
'-safe', '0',
'-i', file_list,
'-loglevel', 'error',
-
+ '-c', 'copy',
+ movie_file_path
]
- if not self.save_as_gif:
- commands +=[
- '-c', 'copy',
- movie_file_path
- ]
- if self.save_as_gif:
- movie_file_path=self.gif_file_path
- commands +=[
- movie_file_path,
- ]
if not self.includes_sound:
commands.insert(-1, '-an')