Fix set_fill

This commit is contained in:
Grant Sanderson 2020-03-06 06:16:28 -08:00
parent 7785a06441
commit f83cfc42b1

View file

@ -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: