When the always_rotate function and the FadeIn function are applied to a mobject simultaneously, some errors may occur. In the Animation class, the get_all_mobjects_to_update method would cause duplicate Mobjects to be returned, and update was performed on all of them.
Error:
In the Animation class, the get_all_mobjects_to_update method would cause duplicate Mobjects to be returned, and update was performed on all of them.
Describe the error
When the always_rotate function and the FadeIn function are applied to a mobject simultaneously, some errors may occur. In the Animation class, the get_all_mobjects_to_update method would cause duplicate Mobjects to be returned, and update was performed on all of them.
Code and Error
Code:
Error: In the Animation class, the get_all_mobjects_to_update method would cause duplicate Mobjects to be returned, and update was performed on all of them.
Solution
https://github.com/3b1b/manim/pull/2036
Environment
OS System: windows 11 manim version: v1.6.1 python version: 3.11