From 442206faadecf49e09d496e375f11c3729d7b70d Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Wed, 21 Aug 2024 16:05:02 -0500 Subject: [PATCH] Go back to non-flat-stroke as the default --- manimlib/mobject/coordinate_systems.py | 2 -- manimlib/mobject/three_dimensions.py | 2 -- manimlib/mobject/types/vectorized_mobject.py | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/manimlib/mobject/coordinate_systems.py b/manimlib/mobject/coordinate_systems.py index 0c91492d..eb0c0b83 100644 --- a/manimlib/mobject/coordinate_systems.py +++ b/manimlib/mobject/coordinate_systems.py @@ -530,7 +530,6 @@ class ThreeDAxes(Axes): z_axis_config: dict = dict(), z_normal: Vect3 = DOWN, depth: float | None = None, - flat_stroke: bool = False, **kwargs ): Axes.__init__(self, x_range, y_range, **kwargs) @@ -554,7 +553,6 @@ class ThreeDAxes(Axes): self.z_axis.shift(self.x_axis.n2p(0)) self.axes.add(self.z_axis) self.add(self.z_axis) - self.set_flat_stroke(flat_stroke) def get_all_ranges(self) -> list[Sequence[float]]: return [self.x_range, self.y_range, self.z_range] diff --git a/manimlib/mobject/three_dimensions.py b/manimlib/mobject/three_dimensions.py index 73daa58a..d29b7ec2 100644 --- a/manimlib/mobject/three_dimensions.py +++ b/manimlib/mobject/three_dimensions.py @@ -38,7 +38,6 @@ class SurfaceMesh(VGroup): normal_nudge: float = 1e-2, depth_test: bool = True, joint_type: str = 'no_joint', - flat_stroke: bool = False, **kwargs ): self.uv_surface = uv_surface @@ -50,7 +49,6 @@ class SurfaceMesh(VGroup): stroke_width=stroke_width, depth_test=depth_test, joint_type=joint_type, - flat_stroke=flat_stroke, **kwargs ) diff --git a/manimlib/mobject/types/vectorized_mobject.py b/manimlib/mobject/types/vectorized_mobject.py index d4ad225d..935462b0 100644 --- a/manimlib/mobject/types/vectorized_mobject.py +++ b/manimlib/mobject/types/vectorized_mobject.py @@ -91,7 +91,7 @@ class VMobject(Mobject): long_lines: bool = False, # Could also be "no_joint", "bevel", "miter" joint_type: str = "auto", - flat_stroke: bool = True, + flat_stroke: bool = False, use_simple_quadratic_approx: bool = False, # Measured in pixel widths anti_alias_width: float = 1.5,