mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Fix set_fill
This commit is contained in:
parent
7785a06441
commit
f83cfc42b1
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class VMobject(Mobject):
|
|||
def set_fill(self, color=None, opacity=None, family=True):
|
||||
# Assume that if it was opacity 0, and set_fill
|
||||
# is called, the intent is for it to now be 1.
|
||||
if opacity is None:
|
||||
if opacity is None and self.get_fill_opacity() == 0:
|
||||
opacity = 1
|
||||
|
||||
if family:
|
||||
|
|
Loading…
Add table
Reference in a new issue