From e07fecc2f94569aa878e871cd098a4eaec807fc8 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Tue, 13 Feb 2018 15:39:31 -0800 Subject: [PATCH] ThreeDMobject color fix --- topics/three_dimensions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/topics/three_dimensions.py b/topics/three_dimensions.py index 55de2925..2d38cd55 100644 --- a/topics/three_dimensions.py +++ b/topics/three_dimensions.py @@ -44,7 +44,7 @@ class ThreeDCamera(CameraWithPerspective): if should_shade_in_3d(vmobject): return self.get_shaded_rgb(rgb, self.get_unit_normal_vect(vmobject)) else: - return color + return rgb def get_stroke_rgb(self, vmobject): return self.modified_rgb(vmobject, vmobject.get_stroke_rgb())