Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Make default student the rightmost one

Grant Sanderson8820d4b33990
diff --git a/manimlib/for_3b1b_videos/pi_creature_scene.py b/manimlib/for_3b1b_videos/pi_creature_scene.py
index ee36564ce..e439f88d2 100644
--- a/manimlib/for_3b1b_videos/pi_creature_scene.py
+++ b/manimlib/for_3b1b_videos/pi_creature_scene.py
@@ -298,7 +298,7 @@ class TeacherStudentsScene(PiCreatureScene):
"raise_left_hand",
])
kwargs["target_mode"] = target_mode
- student = self.get_students()[kwargs.get("student_index", 1)]
+ student = self.get_students()[kwargs.get("student_index", 2)]
return self.pi_creature_says(
student, *content, **kwargs
)
@@ -309,7 +309,7 @@ class TeacherStudentsScene(PiCreatureScene):
)
def student_thinks(self, *content, **kwargs):
- student = self.get_students()[kwargs.get("student_index", 1)]
+ student = self.get_students()[kwargs.get("student_index", 2)]
return self.pi_creature_thinks(student, *content, **kwargs)
def change_all_student_modes(self, mode, **kwargs):