Merge pull request #1566 from pdcxs/patch-2

Add frame to the scene when initialization
This commit is contained in:
Grant Sanderson 2021-07-28 07:48:02 -07:00 committed by GitHub
commit 27344249de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ class Scene(object):
self.camera = self.camera_class(**self.camera_config)
self.file_writer = SceneFileWriter(self, **self.file_writer_config)
self.mobjects = []
self.mobjects = [self.camera.frame]
self.num_plays = 0
self.time = 0
self.skip_time = 0