mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
add back override parameter to init_colors
This commit is contained in:
parent
277256a407
commit
2bd25a55fa
1 changed files with 2 additions and 2 deletions
|
@ -109,8 +109,8 @@ class Mobject(object):
|
||||||
"reflectiveness": self.reflectiveness,
|
"reflectiveness": self.reflectiveness,
|
||||||
}
|
}
|
||||||
|
|
||||||
def init_colors(self):
|
def init_colors(self, override=True):
|
||||||
self.set_color(self.color, self.opacity)
|
self.set_color(self.color, self.opacity, override)
|
||||||
|
|
||||||
def init_points(self):
|
def init_points(self):
|
||||||
# Typically implemented in subclass, unlpess purposefully left blank
|
# Typically implemented in subclass, unlpess purposefully left blank
|
||||||
|
|
Loading…
Add table
Reference in a new issue