mirror of
https://github.com/jeertmans/manim-slides.git
synced 2025-05-24 14:05:59 +08:00
fix(lib): bump Manim and fix OpenGL renderer (#522)
* fix(lib): bump Manim and fix OpenGL renderer * fix(tests): correctly change cwd
This commit is contained in:
@ -31,6 +31,12 @@ class Slide(BaseSlide, Scene): # type: ignore[misc]
|
||||
for the current slide config.
|
||||
"""
|
||||
|
||||
def __init__(self, *args: Any, **kwargs: Any) -> None:
|
||||
# OpenGL renderer disables 'write_to_movie' by default
|
||||
# which is required for saving the animations
|
||||
config["write_to_movie"] = True
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
@property
|
||||
def _frame_shape(self) -> tuple[float, float]:
|
||||
if isinstance(self.renderer, OpenGLRenderer):
|
||||
|
Reference in New Issue
Block a user