Skip to content

Commit 2f02eb9

Browse files
ra1upre-commit-ci[bot]behacklchopan050
authored
Fix Prism rendering with wrong dimensions in OpenGL (#4003)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Benjamin Hackl <[email protected]> Co-authored-by: Francisco Manríquez Novoa <[email protected]>
1 parent c1663f1 commit 2f02eb9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manim/mobject/three_d/three_dimensions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,8 @@ def generate_points(self) -> None:
517517

518518
self.add(face)
519519

520-
init_points = generate_points
520+
def init_points(self) -> None:
521+
self.generate_points()
521522

522523

523524
class Prism(Cube):

0 commit comments

Comments
 (0)