Up to ForgetPreviousActions of Henry fixes

This commit is contained in:
Grant Sanderson
2017-08-31 00:16:08 -07:00
parent 9cd37d99fb
commit 8b4d28f433
3 changed files with 259 additions and 109 deletions

View File

@ -152,7 +152,8 @@ class ThreeDScene(Scene):
self.add(self.ambient_camera_rotation)
def stop_ambient_camera_rotation(self):
self.remove(self.ambient_camera_rotation)
if self.ambient_camera_rotation is not None:
self.remove(self.ambient_camera_rotation)
self.ambient_camera_rotation = None
def move_camera(