mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Add back mismatched indices (#1820)
* Fix a logistic bug * Add back mismatched indices
This commit is contained in:
parent
07a8274cb1
commit
cbffbfa019
1 changed files with 2 additions and 0 deletions
|
@ -192,6 +192,8 @@ class TransformMatchingStrings(AnimationGroup):
|
|||
target_indices_lists, target_indices
|
||||
)
|
||||
if not source_indices_lists or not target_indices_lists:
|
||||
source_indices.extend(it.chain(*source_indices_lists))
|
||||
target_indices.extend(it.chain(*target_indices_lists))
|
||||
continue
|
||||
anims.append(anim_class(
|
||||
source.build_parts_from_indices_lists(source_indices_lists),
|
||||
|
|
Loading…
Add table
Reference in a new issue