mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Unlock mobject data after Write
This commit is contained in:
parent
d981ee47e2
commit
003fafc20f
1 changed files with 4 additions and 0 deletions
|
@ -79,6 +79,10 @@ class DrawBorderThenFill(Animation):
|
||||||
self.mobject.match_style(self.outline)
|
self.mobject.match_style(self.outline)
|
||||||
self.mobject.lock_matching_data(self.mobject, self.outline)
|
self.mobject.lock_matching_data(self.mobject, self.outline)
|
||||||
|
|
||||||
|
def finish(self):
|
||||||
|
super().finish()
|
||||||
|
self.mobject.unlock_data()
|
||||||
|
|
||||||
def get_outline(self):
|
def get_outline(self):
|
||||||
outline = self.mobject.copy()
|
outline = self.mobject.copy()
|
||||||
outline.set_fill(opacity=0)
|
outline.set_fill(opacity=0)
|
||||||
|
|
Loading…
Add table
Reference in a new issue