Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/ManimCommunity/manim into e…
Browse files Browse the repository at this point in the history
…xperimental
  • Loading branch information
JasonGrace2282 committed Aug 3, 2024
2 parents 7844c84 + 17e5a77 commit 7e8c5c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions manim/renderer/opengl_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ def __init__(
self.pixel_width = pixel_width
self.pixel_height = pixel_height
self.samples = samples
if background_opacity:
background_color = background_color.opacity(background_opacity)
self.background_color = background_color.to_rgba()
self.background_image = background_image
self.rgb_max_val: float = np.iinfo(self.pixel_array_dtype).max
Expand Down
2 changes: 1 addition & 1 deletion manim/utils/testing/frames_comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def wrapper(*args, request: pytest.FixtureRequest, tmp_path, **kwargs):

# Reach a bit into pytest internals to hoist the marks from our wrapped
# function.
wrapper.pytestmark = [] # type: ignore # Do we really need this?
wrapper.pytestmark = [] # type: ignore
new_marks = getattr(tested_scene_construct, "pytestmark", [])
wrapper.pytestmark = new_marks # type: ignore
return wrapper
Expand Down

0 comments on commit 7e8c5c8

Please sign in to comment.