mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Allow any VMobject to be passed into TransformMatchingTex, so that slicing into Tex works
This commit is contained in:
parent
322f138490
commit
42d8888f8e
1 changed files with 1 additions and 2 deletions
|
@ -10,7 +10,6 @@ from manimlib.mobject.mobject import Mobject
|
|||
from manimlib.mobject.mobject import Group
|
||||
from manimlib.mobject.types.vectorized_mobject import VGroup
|
||||
from manimlib.mobject.types.vectorized_mobject import VMobject
|
||||
from manimlib.mobject.svg.tex_mobject import Tex
|
||||
from manimlib.utils.config_ops import digest_config
|
||||
|
||||
|
||||
|
@ -129,7 +128,7 @@ class TransformMatchingShapes(TransformMatchingParts):
|
|||
|
||||
class TransformMatchingTex(TransformMatchingParts):
|
||||
CONFIG = {
|
||||
"mobject_type": Tex,
|
||||
"mobject_type": VMobject,
|
||||
"group_type": VGroup,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue