mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Update Mobject.has_points
This commit is contained in:
parent
816f6eb297
commit
e73ae78987
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ class Mobject(object):
|
||||||
return self.get_points()
|
return self.get_points()
|
||||||
|
|
||||||
def has_points(self) -> bool:
|
def has_points(self) -> bool:
|
||||||
return self.get_num_points() > 0
|
return self.data["points"].size > 0
|
||||||
|
|
||||||
def get_bounding_box(self) -> Vect3Array:
|
def get_bounding_box(self) -> Vect3Array:
|
||||||
if self.needs_new_bounding_box:
|
if self.needs_new_bounding_box:
|
||||||
|
|
Loading…
Add table
Reference in a new issue