mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Revert to simple progress_description_len default
This commit is contained in:
parent
bc107787cc
commit
12dc124d72
1 changed files with 2 additions and 3 deletions
|
@ -46,7 +46,7 @@ class SceneFileWriter(object):
|
|||
show_file_location_upon_completion: bool = False,
|
||||
quiet: bool = False,
|
||||
total_frames: int = 0,
|
||||
progress_description_len: int | None = None,
|
||||
progress_description_len: int = 40,
|
||||
):
|
||||
self.scene: Scene = scene
|
||||
self.write_to_movie = write_to_movie
|
||||
|
@ -62,8 +62,7 @@ class SceneFileWriter(object):
|
|||
self.show_file_location_upon_completion = show_file_location_upon_completion
|
||||
self.quiet = quiet
|
||||
self.total_frames = total_frames
|
||||
self.progress_description_len = progress_description_len or \
|
||||
40 if total_frames > 0 else 80
|
||||
self.progress_description_len = progress_description_len
|
||||
|
||||
# State during file writing
|
||||
self.writing_process: sp.Popen | None = None
|
||||
|
|
Loading…
Add table
Reference in a new issue