Fixed fade to behave over Groups of objects exactly as over the subobjects individually

This commit is contained in:
Sridhar Ramesh
2018-03-01 15:34:46 -08:00
parent 3b0332902d
commit 0975f323db
3 changed files with 32 additions and 18 deletions

View File

@ -162,9 +162,6 @@ class FadeOut(Transform):
def __init__(self, mobject, **kwargs):
target = mobject.copy()
target.fade(1)
if isinstance(mobject, VMobject):
target.set_stroke(width = 0)
target.set_fill(opacity = 0)
Transform.__init__(self, mobject, target, **kwargs)
def clean_up(self, surrounding_scene = None):