File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,9 @@ def update_sub_cameras(self) -> None:
6565 """Reshape sub_camera pixel_arrays"""
6666 for imfc in self .image_mobjects_from_cameras :
6767 pixel_height , pixel_width = self .pixel_array .shape [:2 ]
68- imfc .camera .frame_shape = (
68+ # TODO:
69+ # error: "MovingCamera" has no attribute "frame_shape" [attr-defined]
70+ imfc .camera .frame_shape = ( # type: ignore[attr-defined]
6971 imfc .camera .frame .height ,
7072 imfc .camera .frame .width ,
7173 )
Original file line number Diff line number Diff line change 1414from manim .mobject .geometry .shape_matchers import SurroundingRectangle
1515
1616from ... import config
17+ from ...camera .moving_camera import MovingCamera
1718from ...constants import *
1819from ...mobject .mobject import Mobject
1920from ...utils .bezier import interpolate
Original file line number Diff line number Diff line change @@ -61,6 +61,9 @@ ignore_errors = True
6161[mypy-manim.camera.camera.*]
6262ignore_errors = False
6363
64+ [mypy-manim.camera.multi_camera.*]
65+ ignore_errors = False
66+
6467[mypy-manim.cli.*]
6568ignore_errors = False
6669
You can’t perform that action at this time.
0 commit comments