Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Bug fix to VMobject.fade

Grant Sandersonae31ee55e74f
diff --git a/mobject/vectorized_mobject.py b/mobject/vectorized_mobject.py
index fcaa5a305..32998aac4 100644
--- a/mobject/vectorized_mobject.py
+++ b/mobject/vectorized_mobject.py
@@ -90,7 +90,7 @@ class VMobject(Mobject):
family = False
)
submob.set_fill(
- opacity = (1-darkness),
+ opacity = (1-darkness)*submob.get_fill_opacity(),
family = False
)
return self