mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
Fix Updaters with Hacky solution
This commit is contained in:
parent
4ea40d2f58
commit
2726a4d60d
1 changed files with 3 additions and 0 deletions
|
|
@ -2710,6 +2710,9 @@ class OpenGLMobject:
|
|||
family2 = mobject.get_family()
|
||||
for sm1, sm2 in zip(family1, family2):
|
||||
sm1.depth_test = sm2.depth_test
|
||||
sm1.points = (
|
||||
sm2.points
|
||||
) # TODO TS: Just a hack here but it seems to fix updaters
|
||||
# Make sure named family members carry over
|
||||
for attr, value in mobject.__dict__.items():
|
||||
if isinstance(value, OpenGLMobject) and value in family2:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue