BUG of transformation
- Lingua principale
- Python
- Stelle
- 93.8k
- Fork
- 7.7k
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
I write the following code.
But it failed and return error.
I don't know what's wrong with it.
```python
from manimlib import *
class bug(Scene):
def construct(self):
title = Text("Two Sum")
self.play(Transform(title, Text("BruteForce")))
# the following line has no bug
self.play(Transform(title, Text("BrutggForce")))
self.play(Transform(title, Text("BrutForce")))
self.play(Transform(title, Text("BrutttffForce")))
```
C:\WINDOWS\system32\cmd.exe /c (manimgl bug.py bug)
Warning: Using the default configuration file, which you can modify in c:\python39\lib\site-packages\manimlib\default_config.yml
If you want to create a local configuration file, you can create a file named custom_config.yml, or run manimgl --config
Traceback (most recent call last):
File "c:\python39\lib\site-packages\manimlib\camera\camera.py", line 346, in get_render_group_list
return self.static_mobject_to_render_group_list[id(mobject)]
KeyError: 2792980421792
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Python39\Scripts\manimgl.exe\__main__.py", line 7, in
File "c:\python39\lib\site-packages\manimlib\__main__.py", line 17, in main
scene.run()
File "c:\python39\lib\site-packages\manimlib\scene\scene.py", line 75, in run
self.construct()
File "bug.py", line 6, in construct
self.play(Transform(title, Text("BruteForce")))
File "c:\python39\lib\site-packages\manimlib\scene\scene.py", line 390, in wrapper
func(self, *args, **kwargs)
File "c:\python39\lib\site-packages\manimlib\scene\scene.py", line 454, in play
self.progress_through_animations(animations)
File "c:\python39\lib\site-packages\manimlib\scene\scene.py", line 431, in progress_through_animations
self.update_frame(dt)
File "c:\python39\lib\site-packages\manimlib\scene\scene.py", line 155, in update_frame
self.camera.capture(*self.mobjects)
File "c:\python39\lib\site-packages\manimlib\camera\camera.py", line 326, in capture
for render_group in self.get_render_group_list(mobject):
File "c:\python39\lib\site-packages\manimlib\camera\camera.py", line 348, in get_render_group_list
return map(self.get_render_group, mobject.get_shader_wrapper_list())
File "c:\python39\lib\site-packages\manimlib\mobject\types\vectorized_mobject.py", line 901, in get_shader_wrapper_list
fill_shader_wrappers.append(submob.get_fill_shader_wrapper())
File "c:\python39\lib\site-packages\manimlib\mobject\types\vectorized_mobject.py", line 883, in get_fill_shader_wrapper
self.fill_shader_wrapper.vert_indices = self.get_fill_shader_vert_indices()
File "c:\python39\lib\site-packages\manimlib\mobject\types\vectorized_mobject.py", line 965, in get_fill_shader_vert_indices
return self.get_triangulation()
File "c:\python39\lib\site-packages\manimlib\mobject\types\vectorized_mobject.py", line 819, in get_triangulation
earclip_triangulation(inner_verts, rings)
File "c:\python39\lib\site-packages\manimlib\utils\space_ops.py", line 404, in earclip_triangulation
new_ring = next(filter(
StopIteration
shell returned 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.