mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
Bugfix: Fix -p flag when passing -s (#1022)
This commit is contained in:
parent
aced989d5e
commit
05ca2949fd
1 changed files with 3 additions and 4 deletions
|
|
@ -291,12 +291,11 @@ class SceneFileWriter(object):
|
|||
image : np.array
|
||||
The pixel array of the image to save.
|
||||
"""
|
||||
file_path = self.image_file_path
|
||||
if not config["output_file"]:
|
||||
file_path = add_version_before_extension(file_path)
|
||||
self.image_file_path = add_version_before_extension(self.image_file_path)
|
||||
|
||||
image.save(file_path)
|
||||
self.print_file_ready_message(file_path)
|
||||
image.save(self.image_file_path)
|
||||
self.print_file_ready_message(self.image_file_path)
|
||||
|
||||
def idle_stream(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue