Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Make sure add_fixed_in_frame_mobjects adds mobjects to scene

Grant Sanderson728c025f6fdd
diff --git a/scene/three_d_scene.py b/scene/three_d_scene.py
index 133f6d896..430de9fa1 100644
--- a/scene/three_d_scene.py
+++ b/scene/three_d_scene.py
@@ -74,9 +74,11 @@ class ThreeDScene(Scene):
return moving_mobjects
def add_fixed_orientation_mobjects(self, *mobjects, **kwargs):
+ self.add(*mobjects)
self.camera.add_fixed_orientation_mobjects(*mobjects, **kwargs)
def add_fixed_in_frame_mobjects(self, *mobjects):
+ self.add(*mobjects)
self.camera.add_fixed_in_frame_mobjects(*mobjects)
def remove_fixed_orientation_mobjects(self, *mobjects):