mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Fix Eyes
This commit is contained in:
parent
c1a1b0f145
commit
caca6d0c0e
1 changed files with 2 additions and 2 deletions
|
@ -337,7 +337,7 @@ class Eyes(VMobject):
|
|||
VMobject.__init__(self, **kwargs)
|
||||
self.body = body
|
||||
eyes = self.create_eyes()
|
||||
self.become(eyes, copy_submobjects=False)
|
||||
self.set_submobjects(eyes.submobjects)
|
||||
|
||||
def create_eyes(self, mode=None, thing_to_look_at=None):
|
||||
if mode is None:
|
||||
|
@ -372,7 +372,7 @@ class Eyes(VMobject):
|
|||
mode=mode,
|
||||
thing_to_look_at=thing_to_look_at
|
||||
)
|
||||
self.become(new_eyes, copy_submobjects=False)
|
||||
self.set_submobjects(new_eyes.submobjects)
|
||||
return self
|
||||
|
||||
def look_at(self, thing_to_look_at):
|
||||
|
|
Loading…
Add table
Reference in a new issue