ManimCommunity / ManimCommunity/manim
add_updater does not correctly retrieve the objects' name introduced in main file when embed with OpenGL.
- Dominant language
- Python
- Stars
- 40.9k
- Forks
- 3.1k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 25
Description
When I enter the interactive mode through `self.interactive_embed()` with OpenGL, all objects imported in the main program, custom variables, and objects cannot be used within the `add_updater`. Here is an example: even though `from manim import *` has been used to import all Manim objects in the main program, using Dot in always_redraw is considered undefined.


Contributor guide
Research direction
Reproduce the issue by entering interactive mode with self.interactive_embed() using OpenGL, then exercise add_updater and always_redraw with an imported Dot and custom variables. Trace how names from the main program are retrieved in that path; done means imported Manim objects, custom variables, and other main-program objects are usable inside add_updater.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100