mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Small fixes
This commit is contained in:
parent
40b651d661
commit
6e0ae83685
1 changed files with 2 additions and 1 deletions
|
@ -430,7 +430,7 @@ class Bubble(SVGMobject):
|
|||
raise Exception("Must invoke Bubble subclass")
|
||||
try:
|
||||
SVGMobject.__init__(self, **kwargs)
|
||||
except IOError as err:
|
||||
except IOError:
|
||||
self.file_name = os.path.join(FILE_DIR, self.file_name)
|
||||
SVGMobject.__init__(self, **kwargs)
|
||||
self.center()
|
||||
|
@ -440,6 +440,7 @@ class Bubble(SVGMobject):
|
|||
self.flip()
|
||||
self.direction_was_specified = ("direction" in kwargs)
|
||||
self.content = Mobject()
|
||||
self.refresh_triangulation()
|
||||
|
||||
def get_tip(self):
|
||||
# TODO, find a better way
|
||||
|
|
Loading…
Add table
Reference in a new issue