Skip to content

Commit 2075f82

Browse files
Fix :meth:.OpenGLMobject.invert not reassembling family (#3885)
* fix OpenGLMobject.invert * return self to match typehint
1 parent 20d0194 commit 2075f82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manim/mobject/opengl/opengl_mobject.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,8 @@ def construct(self):
13511351
for submob in self.submobjects:
13521352
submob.invert(recursive=True)
13531353
self.submobjects.reverse()
1354-
# Is there supposed to be an assemble_family here?
1354+
self.assemble_family()
1355+
return self
13551356

13561357
# Copying
13571358

0 commit comments

Comments
 (0)