mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 22:13:30 +08:00
Removed separate_moving_and_static from scenes in place of cleaner get_moving_mobjects approach
This commit is contained in:
@ -175,11 +175,10 @@ class ThreeDScene(Scene):
|
||||
if is_camera_rotating:
|
||||
self.add(self.ambient_camera_rotation)
|
||||
|
||||
def separate_moving_and_static_mobjects(self, *animations):
|
||||
moving, static = Scene.separate_moving_and_static_mobjects(self, *animations)
|
||||
def get_moving_mobjects(self, *animations):
|
||||
if self.camera.rotation_mobject in moving:
|
||||
return moving + static, []
|
||||
return moving, static
|
||||
return self.mobjects
|
||||
return Scene.get_moving_mobjects(self, *animations)
|
||||
|
||||
##############
|
||||
|
||||
|
Reference in New Issue
Block a user