mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 13:34:19 +08:00
Mobjects now contain submobjects, giving a heirarchy. Thus CompoundMobject is replaced simply with Mobject, and display etc. needed updating
This commit is contained in:
@ -441,7 +441,7 @@ class LabelLargeSquare(DrawCSquareWithAllTraingles):
|
||||
args_list = []
|
||||
def construct(self):
|
||||
DrawCSquareWithAllTraingles.construct(self)
|
||||
everything = CompoundMobject(*self.mobjects)
|
||||
everything = Mobject(*self.mobjects)
|
||||
u_brace = Underbrace(2*(DOWN+LEFT), 2*(DOWN+RIGHT))
|
||||
u_brace.shift(0.2*DOWN)
|
||||
side_brace = deepcopy(u_brace).rotate(np.pi/2)
|
||||
|
Reference in New Issue
Block a user