Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

init (#1931)

Oliver7d2f9837cacd
diff --git a/manim/mobject/mobject.py b/manim/mobject/mobject.py
index a43ee9e34..3d6646696 100644
--- a/manim/mobject/mobject.py
+++ b/manim/mobject/mobject.py
@@ -2358,7 +2358,7 @@ class Mobject:
# grid filling is handled bottom up for simplicity reasons.
def reverse(maybe_list):
if maybe_list is not None:
- maybe_list = list(row_alignments)
+ maybe_list = list(maybe_list)
maybe_list.reverse()
return maybe_list
diff --git a/manim/mobject/opengl_mobject.py b/manim/mobject/opengl_mobject.py
index d023647d7..2bdf6bf8f 100644
--- a/manim/mobject/opengl_mobject.py
+++ b/manim/mobject/opengl_mobject.py
@@ -666,7 +666,7 @@ class OpenGLMobject:
# grid filling is handled bottom up for simplicity reasons.
def reverse(maybe_list):
if maybe_list is not None:
- maybe_list = list(row_alignments)
+ maybe_list = list(maybe_list)
maybe_list.reverse()
return maybe_list