Remove reference to UHD_CAMERA_QUALITY

This commit is contained in:
Grant Sanderson 2021-01-02 23:02:20 -08:00
parent d1c6b80622
commit 05887d5039

View file

@ -1,6 +1,6 @@
from manimlib.animation.transform import ApplyMethod
from manimlib.constants import DEGREES
from manimlib.constants import UHD_QUALITY_CAMERA_CONFIG
from manimlib.constants import DEFAULT_PIXEL_WIDTH
from manimlib.mobject.coordinate_systems import ThreeDAxes
from manimlib.mobject.geometry import Line
from manimlib.mobject.three_dimensions import Sphere
@ -150,7 +150,7 @@ class OldSpecialThreeDScene(ThreeDScene):
def __init__(self, **kwargs):
digest_config(self, kwargs)
if self.camera_config["pixel_width"] == UHD_QUALITY_CAMERA_CONFIG["pixel_width"]:
if self.camera_config["pixel_width"] == DEFAULT_PIXEL_WIDTH:
config = {}
else:
config = self.low_quality_config