Description
Here's a scene
from manim import Scene, Integer, ShowCreation, Transform
class TestScene(Scene):
def construct(self):
number = Integer(0)
self.add(number)
for i in range(10):
self.play(Transform(number, Integer(i)))
Problem 1
This scene cannot be rendered with manim -pl test.py -n5,10
. That is, if the first time you render it, you try to render only a specific number of animations, it cannot be done. It can be rendered normally without specifying the -n flag: manim -pl test.py
.
Problem 2
After successfully rendering with manim -pl test.py
, I tried again manim -pl test.py -n5,10
, but the whole scene is being rendered. The -n flag is ignored.
Comments
Judging by the output, I think this has to do with scene caching (cc @huguesdevimeux). I recommend that while we are working out the kinks of the scene cachinc system, we add a flag --disable_caching
, so that it can still be used even while the caching system is not fully debugged.
UPDATE: even when using --disable_caching
, you get the same behavior.