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:
65
65
"""Reshape sub_camera pixel_arrays"""
66
66
for imfc in self .image_mobjects_from_cameras :
67
67
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]
69
71
imfc .camera .frame .height ,
70
72
imfc .camera .frame .width ,
71
73
)
Original file line number Diff line number Diff line change 14
14
from manim .mobject .geometry .shape_matchers import SurroundingRectangle
15
15
16
16
from ... import config
17
+ from ...camera .moving_camera import MovingCamera
17
18
from ...constants import *
18
19
from ...mobject .mobject import Mobject
19
20
from ...utils .bezier import interpolate
Original file line number Diff line number Diff line change @@ -61,6 +61,9 @@ ignore_errors = True
61
61
[mypy-manim.camera.camera.*]
62
62
ignore_errors = False
63
63
64
+ [mypy-manim.camera.multi_camera.*]
65
+ ignore_errors = False
66
+
64
67
[mypy-manim.cli.*]
65
68
ignore_errors = False
66
69
You can’t perform that action at this time.
0 commit comments