mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 13:03:31 +08:00
add back override parameter to init_colors
This commit is contained in:
@ -109,8 +109,8 @@ class Mobject(object):
|
||||
"reflectiveness": self.reflectiveness,
|
||||
}
|
||||
|
||||
def init_colors(self):
|
||||
self.set_color(self.color, self.opacity)
|
||||
def init_colors(self, override=True):
|
||||
self.set_color(self.color, self.opacity, override)
|
||||
|
||||
def init_points(self):
|
||||
# Typically implemented in subclass, unlpess purposefully left blank
|
||||
|
Reference in New Issue
Block a user