Merge pull request #2168 from zhujisheng/patch-1

Update scene.py to make scene.time more accurate
This commit is contained in:
Grant Sanderson 2024-10-10 12:24:05 -07:00 committed by GitHub
commit 81b17dd63e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -541,7 +541,7 @@ class Scene(object):
if self.skip_animations and not override_skip_animations:
return [run_time]
times = np.arange(0, run_time, 1 / self.camera.fps)
times = np.arange(0, run_time, 1 / self.camera.fps) + 1 / self.camera.fps
self.file_writer.set_progress_display_description(sub_desc=desc)