-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
issue:bugSomething isn't working... For use in issuesSomething isn't working... For use in issues
Description
Description of bug / unexpected behavior
After calling a.become(b)
, where a
and b
are both VMobjects
, their colors become linked. Changing color of a
(e.g. with set_stroke
also changes color of b
and vice versa.
Expected behavior
After become()
call, the two Mobjects should be independent and should change colors independently.
How to reproduce the issue
Code for reproducing the problem
from manim import *
class PromoScene(Scene):
def construct(self):
a = Circle()
b = Square()
self.add(a)
self.add(b)
b.become(a)
b.shift(1*RIGHT)
b.set_stroke(YELLOW, opacity=1)
self.wait(1)
Additional media files
Metadata
Metadata
Assignees
Labels
issue:bugSomething isn't working... For use in issuesSomething isn't working... For use in issues
Type
Projects
Status
🆕 New