Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

change a dumb logic for a smart logic

leotrs5d787f396cea
diff --git a/manim/config/utils.py b/manim/config/utils.py
index 7b3d2779e..9ec35fdd2 100644
--- a/manim/config/utils.py
+++ b/manim/config/utils.py
@@ -571,7 +571,7 @@ class ManimConfig(MutableMapping):
)
skip_animations = property(
- lambda self: any([self.save_last_frame, self.from_animation_number]),
+ lambda self: self._d['skip_animations'],
lambda self, val: self._set_boolean('skip_animations', val),
doc=('Set to less than the number of animations to skip '
'animations. Use -1 to avoid skipping.')