From 0de914fd018de9fc69ce3a650b8a80266768105b Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Mon, 30 Jan 2023 20:37:15 -0800 Subject: [PATCH] No need for du_points, and dv_points in SurfaceMesh --- manimlib/mobject/three_dimensions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manimlib/mobject/three_dimensions.py b/manimlib/mobject/three_dimensions.py index 2415934f..5c4eefe0 100644 --- a/manimlib/mobject/three_dimensions.py +++ b/manimlib/mobject/three_dimensions.py @@ -65,7 +65,7 @@ class SurfaceMesh(VGroup): u_indices = np.linspace(0, full_nu - 1, part_nu) v_indices = np.linspace(0, full_nv - 1, part_nv) - points, du_points, dv_points = uv_surface.get_surface_points_and_nudged_points() + points = uv_surface.get_points() normals = uv_surface.get_unit_normals() nudge = self.normal_nudge nudged_points = points + nudge * normals