mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 22:13:30 +08:00
Bug fixes after last scene update + some renaming
This commit is contained in:
@ -25,6 +25,8 @@ class Mobject(object):
|
||||
}
|
||||
def __init__(self, *submobjects, **kwargs):
|
||||
digest_config(self, kwargs)
|
||||
if not all(map(lambda m : isinstance(m, Mobject), submobjects)):
|
||||
raise Exception("All submobjects must be of type Mobject")
|
||||
self.submobjects = list(submobjects)
|
||||
self.color = Color(self.color)
|
||||
if self.name is None:
|
||||
@ -627,7 +629,11 @@ class Mobject(object):
|
||||
|
||||
|
||||
|
||||
|
||||
class Group(Mobject):
|
||||
#Alternate name to improve readibility in cases where
|
||||
#the mobject is used primarily for its submobject housing
|
||||
#functionality.
|
||||
pass
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user