mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Make sure framerate is 30 for previewed scenes
This commit is contained in:
parent
0b7b3f4f31
commit
0787c4f362
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ class Scene(object):
|
||||||
from manimlib.window import Window
|
from manimlib.window import Window
|
||||||
self.window = Window(scene=self, **self.window_config)
|
self.window = Window(scene=self, **self.window_config)
|
||||||
self.camera_config["ctx"] = self.window.ctx
|
self.camera_config["ctx"] = self.window.ctx
|
||||||
|
self.camera_config["frame_rate"] = 30 # Where's that 30 from?
|
||||||
else:
|
else:
|
||||||
self.window = None
|
self.window = None
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue